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:
  • Constructor Details

    • ExportTask

      public ExportTask()
  • Method Details

    • 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:
    • getState

      public String getState()

      The state of the export task.

      Returns:
      The state of the export task.
      See Also:
    • 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:
    • setState

      public void setState(ExportTaskState state)

      The state of the export task.

      Parameters:
      state - The state of the export task.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ExportTask clone()
      Overrides:
      clone in class Object