com.amazonaws.services.ec2.model
Class ExportTask

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ExportTask
All Implemented Interfaces:
java.io.Serializable

public class ExportTask
extends java.lang.Object
implements java.io.Serializable

Describes an export task.

See Also:
Serialized Form

Constructor Summary
ExportTask()
           
 
Method Summary
 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()
           
 InstanceExportDetails getInstanceExportDetails()
          The instance being exported.
 java.lang.String getState()
          The state of the conversion 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)
           
 void setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
          The instance being exported.
 void setState(ExportTaskState state)
          The state of the conversion task.
 void setState(java.lang.String state)
          The state of the conversion 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)
           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(java.lang.String state)
          The state of the conversion task.
 ExportTask withStatusMessage(java.lang.String statusMessage)
          The status message related to the export task.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExportTask

public ExportTask()
Method Detail

getExportTaskId

public java.lang.String getExportTaskId()
The ID of the export task.

Returns:
The ID of the export task.

setExportTaskId

public void setExportTaskId(java.lang.String exportTaskId)
The ID of the export task.

Parameters:
exportTaskId - The ID of the export task.

withExportTaskId

public ExportTask withExportTaskId(java.lang.String exportTaskId)
The ID of the export task.

Returns a reference to this object so that method calls can be chained together.

Parameters:
exportTaskId - The ID of the export task.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
A description of the resource being exported.

Returns:
A description of the resource being exported.

setDescription

public void setDescription(java.lang.String description)
A description of the resource being exported.

Parameters:
description - A description of the resource being exported.

withDescription

public ExportTask withDescription(java.lang.String description)
A description of the resource being exported.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A description of the resource being exported.
Returns:
A reference to this updated object so that method calls can be chained together.

getState

public java.lang.String getState()
The state of the conversion task.

Constraints:
Allowed Values: active, cancelling, cancelled, completed

Returns:
The state of the conversion task.
See Also:
ExportTaskState

setState

public void setState(java.lang.String state)
The state of the conversion task.

Constraints:
Allowed Values: active, cancelling, cancelled, completed

Parameters:
state - The state of the conversion task.
See Also:
ExportTaskState

withState

public ExportTask withState(java.lang.String state)
The state of the conversion task.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: active, cancelling, cancelled, completed

Parameters:
state - The state of the conversion task.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportTaskState

setState

public void setState(ExportTaskState state)
The state of the conversion task.

Constraints:
Allowed Values: active, cancelling, cancelled, completed

Parameters:
state - The state of the conversion task.
See Also:
ExportTaskState

withState

public ExportTask withState(ExportTaskState state)
The state of the conversion task.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: active, cancelling, cancelled, completed

Parameters:
state - The state of the conversion task.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportTaskState

getStatusMessage

public java.lang.String getStatusMessage()
The status message related to the export task.

Returns:
The status message related to the export task.

setStatusMessage

public void setStatusMessage(java.lang.String statusMessage)
The status message related to the export task.

Parameters:
statusMessage - The status message related to the export task.

withStatusMessage

public ExportTask withStatusMessage(java.lang.String statusMessage)
The status message related to the export task.

Returns a reference to this object so that method calls can be chained together.

Parameters:
statusMessage - The status message related to the export task.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceExportDetails

public InstanceExportDetails getInstanceExportDetails()
The instance being exported.

Returns:
The instance being exported.

setInstanceExportDetails

public void setInstanceExportDetails(InstanceExportDetails instanceExportDetails)
The instance being exported.

Parameters:
instanceExportDetails - The instance being exported.

withInstanceExportDetails

public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails)
The instance being exported.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceExportDetails - The instance being exported.
Returns:
A reference to this updated object so that method calls can be chained together.

getExportToS3Task

public ExportToS3Task getExportToS3Task()
Returns:

setExportToS3Task

public void setExportToS3Task(ExportToS3Task exportToS3Task)
Parameters:
exportToS3Task -

withExportToS3Task

public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task)

Returns a reference to this object so that method calls can be chained together.

Parameters:
exportToS3Task -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.