public class ExportTask extends Object implements Serializable, Cloneable
Describes an instance export task.
| Constructor and Description |
|---|
ExportTask() |
| Modifier and Type | Method and Description |
|---|---|
ExportTask |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the resource being exported.
|
String |
getExportTaskId()
The ID of the export task.
|
ExportToS3Task |
getExportToS3Task()
Information about the export task.
|
InstanceExportDetails |
getInstanceExportDetails()
Information about the instance to export.
|
String |
getState()
The state of the export task.
|
String |
getStatusMessage()
The status message related to the export task.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the resource being exported.
|
void |
setExportTaskId(String exportTaskId)
The ID of the export task.
|
void |
setExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
|
void |
setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
|
void |
setState(ExportTaskState state)
The state of the export task.
|
void |
setState(String state)
The state of the export task.
|
void |
setStatusMessage(String statusMessage)
The status message related to the export task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportTask |
withDescription(String description)
A description of the resource being exported.
|
ExportTask |
withExportTaskId(String exportTaskId)
The ID of the export task.
|
ExportTask |
withExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
|
ExportTask |
withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
|
ExportTask |
withState(ExportTaskState state)
The state of the export task.
|
ExportTask |
withState(String state)
The state of the export task.
|
ExportTask |
withStatusMessage(String statusMessage)
The status message related to the export task.
|
public String getExportTaskId()
public void setExportTaskId(String exportTaskId)
exportTaskId - The ID of the export task.public ExportTask withExportTaskId(String exportTaskId)
Returns a reference to this object so that method calls can be chained together.
exportTaskId - The ID of the export task.public String getDescription()
public void setDescription(String description)
description - A description of the resource being exported.public ExportTask withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the resource being exported.public String getState()
Constraints:
Allowed Values: active, cancelling, cancelled, completed
ExportTaskStatepublic void setState(String state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state - The state of the export task.ExportTaskStatepublic ExportTask withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state - The state of the export task.ExportTaskStatepublic void setState(ExportTaskState state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state - The state of the export task.ExportTaskStatepublic ExportTask withState(ExportTaskState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state - The state of the export task.ExportTaskStatepublic String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage - The status message related to the export task.public ExportTask withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage - The status message related to the export task.public InstanceExportDetails getInstanceExportDetails()
public void setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
instanceExportDetails - Information about the instance to export.public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Returns a reference to this object so that method calls can be chained together.
instanceExportDetails - Information about the instance to export.public ExportToS3Task getExportToS3Task()
public void setExportToS3Task(ExportToS3Task exportToS3Task)
exportToS3Task - Information about the export task.public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task)
Returns a reference to this object so that method calls can be chained together.
exportToS3Task - Information about the export task.public String toString()
toString in class ObjectObject.toString()public ExportTask clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.