public class ExportTask
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an instance export task.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A description of the resource being exported.
|
private java.lang.String |
exportTaskId
The ID of the export task.
|
private ExportToS3Task |
exportToS3Task
Information about the export task.
|
private InstanceExportDetails |
instanceExportDetails
Information about the instance to export.
|
private java.lang.String |
state
The state of the export task.
|
private java.lang.String |
statusMessage
The status message related to the export task.
|
Constructor and Description |
---|
ExportTask() |
Modifier and Type | Method and Description |
---|---|
ExportTask |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the resource being exported.
|
java.lang.String |
getExportTaskId()
The ID of the export task.
|
ExportToS3Task |
getExportToS3Task()
Information about the export task.
|
InstanceExportDetails |
getInstanceExportDetails()
Information about the instance to export.
|
java.lang.String |
getState()
The state of the export task.
|
java.lang.String |
getStatusMessage()
The status message related to the export task.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the resource being exported.
|
void |
setExportTaskId(java.lang.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(java.lang.String state)
The state of the export task.
|
void |
setStatusMessage(java.lang.String statusMessage)
The status message related to the export task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportTask |
withDescription(java.lang.String description)
A description of the resource being exported.
|
ExportTask |
withExportTaskId(java.lang.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(java.lang.String state)
The state of the export task.
|
ExportTask |
withStatusMessage(java.lang.String statusMessage)
The status message related to the export task.
|
private java.lang.String exportTaskId
The ID of the export task.
private java.lang.String description
A description of the resource being exported.
private java.lang.String state
The state of the export task.
private java.lang.String statusMessage
The status message related to the export task.
private InstanceExportDetails instanceExportDetails
Information about the instance to export.
private ExportToS3Task exportToS3Task
Information about the export task.
public void setExportTaskId(java.lang.String exportTaskId)
The ID of the export task.
exportTaskId
- The ID of the export task.public java.lang.String getExportTaskId()
The ID of the export task.
public ExportTask withExportTaskId(java.lang.String exportTaskId)
The ID of the export task.
exportTaskId
- The ID of the export task.public void setDescription(java.lang.String description)
A description of the resource being exported.
description
- A description of the resource being exported.public java.lang.String getDescription()
A description of the resource being exported.
public ExportTask withDescription(java.lang.String description)
A description of the resource being exported.
description
- A description of the resource being exported.public void setState(java.lang.String state)
The state of the export task.
state
- The state of the export task.ExportTaskState
public java.lang.String getState()
The state of the export task.
ExportTaskState
public ExportTask withState(java.lang.String state)
The state of the export task.
state
- The state of the export task.ExportTaskState
public void setState(ExportTaskState state)
The state of the export task.
state
- The state of the export task.ExportTaskState
public ExportTask withState(ExportTaskState state)
The state of the export task.
state
- The state of the export task.ExportTaskState
public void setStatusMessage(java.lang.String statusMessage)
The status message related to the export task.
statusMessage
- The status message related to the export task.public java.lang.String getStatusMessage()
The status message related to the export task.
public ExportTask withStatusMessage(java.lang.String statusMessage)
The status message related to the export task.
statusMessage
- The status message related to the export task.public void setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
instanceExportDetails
- Information about the instance to export.public InstanceExportDetails getInstanceExportDetails()
Information about the instance to export.
public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
instanceExportDetails
- Information about the instance to export.public void setExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
exportToS3Task
- Information about the export task.public ExportToS3Task getExportToS3Task()
Information about the export task.
public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
exportToS3Task
- Information about the export task.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ExportTask clone()
clone
in class java.lang.Object