public class ExportTask
extends java.lang.Object
implements java.io.Serializable
Describes an instance export task.
| Constructor and Description |
|---|
ExportTask() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getExportTaskId()
public void setExportTaskId(java.lang.String exportTaskId)
exportTaskId - The ID of the export task.public ExportTask withExportTaskId(java.lang.String exportTaskId)
Returns a reference to this object so that method calls can be chained together.
exportTaskId - The ID of the export task.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - A description of the resource being exported.public ExportTask withDescription(java.lang.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 java.lang.String getState()
Constraints:
Allowed Values: active, cancelling, cancelled, completed
ExportTaskStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state - The state of the export task.ExportTaskStatepublic ExportTask withState(java.lang.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 java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage - The status message related to the export task.public ExportTask withStatusMessage(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.