public class ExportTask extends Object implements Serializable
Describes an export task.
Constructor and Description |
---|
ExportTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the resource being exported.
|
String |
getExportTaskId()
The ID of the export task.
|
ExportToS3Task |
getExportToS3Task() |
InstanceExportDetails |
getInstanceExportDetails()
The instance being exported.
|
String |
getState()
The state of the conversion 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) |
void |
setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
The instance being exported.
|
void |
setState(ExportTaskState state)
The state of the conversion task.
|
void |
setState(String state)
The state of the conversion 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)
Returns a reference to this object so that method calls can be chained together.
|
ExportTask |
withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
The instance being exported.
|
ExportTask |
withState(ExportTaskState state)
The state of the conversion task.
|
ExportTask |
withState(String state)
The state of the conversion 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
ExportTaskState
public void setState(String state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The state of the conversion task.ExportTaskState
public 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 conversion task.ExportTaskState
public void setState(ExportTaskState state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The state of the conversion task.ExportTaskState
public 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 conversion task.ExportTaskState
public 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
- The instance being exported.public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Returns a reference to this object so that method calls can be chained together.
instanceExportDetails
- The instance being exported.public ExportToS3Task getExportToS3Task()
public void setExportToS3Task(ExportToS3Task exportToS3Task)
exportToS3Task
- public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task)
Returns a reference to this object so that method calls can be chained together.
exportToS3Task
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.