Class ExportTask
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ExportTask
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ExportTask extends Object implements Serializable, Cloneable
Describes an instance export task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExportTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setExportTaskId
public void setExportTaskId(String exportTaskId)
The ID of the export task.
- Parameters:
exportTaskId
- The ID of the export task.
-
getExportTaskId
public String getExportTaskId()
The ID of the export task.
- Returns:
- The ID of the export task.
-
withExportTaskId
public ExportTask withExportTaskId(String exportTaskId)
The ID of the export task.
- Parameters:
exportTaskId
- The ID of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the resource being exported.
- Parameters:
description
- A description of the resource being exported.
-
getDescription
public String getDescription()
A description of the resource being exported.
- Returns:
- A description of the resource being exported.
-
withDescription
public ExportTask withDescription(String description)
A description of the resource being exported.
- Parameters:
description
- A description of the resource being exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
public void setState(String state)
The state of the export task.
- Parameters:
state
- The state of the export task.- See Also:
ExportTaskState
-
getState
public String getState()
The state of the export task.
- Returns:
- The state of the export task.
- See Also:
ExportTaskState
-
withState
public ExportTask withState(String state)
The state of the export task.
- Parameters:
state
- The state of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskState
-
setState
public void setState(ExportTaskState state)
The state of the export task.
- Parameters:
state
- The state of the export task.- See Also:
ExportTaskState
-
withState
public ExportTask withState(ExportTaskState state)
The state of the export task.
- Parameters:
state
- The state of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskState
-
setStatusMessage
public void setStatusMessage(String statusMessage)
The status message related to the export task.
- Parameters:
statusMessage
- The status message related to the export task.
-
getStatusMessage
public String getStatusMessage()
The status message related to the export task.
- Returns:
- The status message related to the export task.
-
withStatusMessage
public ExportTask withStatusMessage(String statusMessage)
The status message related to the export task.
- Parameters:
statusMessage
- The status message related to the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceExportDetails
public void setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
- Parameters:
instanceExportDetails
- Information about the instance to export.
-
getInstanceExportDetails
public InstanceExportDetails getInstanceExportDetails()
Information about the instance to export.
- Returns:
- Information about the instance to export.
-
withInstanceExportDetails
public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
- Parameters:
instanceExportDetails
- Information about the instance to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExportToS3Task
public void setExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
- Parameters:
exportToS3Task
- Information about the export task.
-
getExportToS3Task
public ExportToS3Task getExportToS3Task()
Information about the export task.
- Returns:
- Information about the export task.
-
withExportToS3Task
public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
- Parameters:
exportToS3Task
- Information about the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ExportTask clone()
-
-