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 ExportTaskclone()booleanequals(Object obj)StringgetDescription()A description of the resource being exported.StringgetExportTaskId()The ID of the export task.ExportToS3TaskgetExportToS3Task()Information about the export task.InstanceExportDetailsgetInstanceExportDetails()Information about the instance to export.StringgetState()The state of the export task.StringgetStatusMessage()The status message related to the export task.inthashCode()voidsetDescription(String description)A description of the resource being exported.voidsetExportTaskId(String exportTaskId)The ID of the export task.voidsetExportToS3Task(ExportToS3Task exportToS3Task)Information about the export task.voidsetInstanceExportDetails(InstanceExportDetails instanceExportDetails)Information about the instance to export.voidsetState(ExportTaskState state)The state of the export task.voidsetState(String state)The state of the export task.voidsetStatusMessage(String statusMessage)The status message related to the export task.StringtoString()Returns a string representation of this object; useful for testing and debugging.ExportTaskwithDescription(String description)A description of the resource being exported.ExportTaskwithExportTaskId(String exportTaskId)The ID of the export task.ExportTaskwithExportToS3Task(ExportToS3Task exportToS3Task)Information about the export task.ExportTaskwithInstanceExportDetails(InstanceExportDetails instanceExportDetails)Information about the instance to export.ExportTaskwithState(ExportTaskState state)The state of the export task.ExportTaskwithState(String state)The state of the export task.ExportTaskwithStatusMessage(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ExportTask clone()
-
-