Class ImportSnapshotResult

java.lang.Object
com.amazonaws.services.ec2.model.ImportSnapshotResult
All Implemented Interfaces:
Serializable, Cloneable

public class ImportSnapshotResult extends Object implements Serializable, Cloneable

Contains the output for ImportSnapshot.

See Also:
  • Constructor Details

    • ImportSnapshotResult

      public ImportSnapshotResult()
  • Method Details

    • setImportTaskId

      public void setImportTaskId(String importTaskId)

      The ID of the import snapshot task.

      Parameters:
      importTaskId - The ID of the import snapshot task.
    • getImportTaskId

      public String getImportTaskId()

      The ID of the import snapshot task.

      Returns:
      The ID of the import snapshot task.
    • withImportTaskId

      public ImportSnapshotResult withImportTaskId(String importTaskId)

      The ID of the import snapshot task.

      Parameters:
      importTaskId - The ID of the import snapshot task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSnapshotTaskDetail

      public void setSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)

      Information about the import snapshot task.

      Parameters:
      snapshotTaskDetail - Information about the import snapshot task.
    • getSnapshotTaskDetail

      public SnapshotTaskDetail getSnapshotTaskDetail()

      Information about the import snapshot task.

      Returns:
      Information about the import snapshot task.
    • withSnapshotTaskDetail

      public ImportSnapshotResult withSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)

      Information about the import snapshot task.

      Parameters:
      snapshotTaskDetail - Information about the import snapshot 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 import snapshot task.

      Parameters:
      description - A description of the import snapshot task.
    • getDescription

      public String getDescription()

      A description of the import snapshot task.

      Returns:
      A description of the import snapshot task.
    • withDescription

      public ImportSnapshotResult withDescription(String description)

      A description of the import snapshot task.

      Parameters:
      description - A description of the import snapshot 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 ImportSnapshotResult clone()
      Overrides:
      clone in class Object