Class InstanceExportDetails

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

public class InstanceExportDetails extends Object implements Serializable, Cloneable

Describes an instance to export.

See Also:
  • Constructor Details

    • InstanceExportDetails

      public InstanceExportDetails()
  • Method Details

    • setInstanceId

      public void setInstanceId(String instanceId)

      The ID of the resource being exported.

      Parameters:
      instanceId - The ID of the resource being exported.
    • getInstanceId

      public String getInstanceId()

      The ID of the resource being exported.

      Returns:
      The ID of the resource being exported.
    • withInstanceId

      public InstanceExportDetails withInstanceId(String instanceId)

      The ID of the resource being exported.

      Parameters:
      instanceId - The ID of the resource being exported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTargetEnvironment

      public void setTargetEnvironment(String targetEnvironment)

      The target virtualization environment.

      Parameters:
      targetEnvironment - The target virtualization environment.
      See Also:
    • getTargetEnvironment

      public String getTargetEnvironment()

      The target virtualization environment.

      Returns:
      The target virtualization environment.
      See Also:
    • withTargetEnvironment

      public InstanceExportDetails withTargetEnvironment(String targetEnvironment)

      The target virtualization environment.

      Parameters:
      targetEnvironment - The target virtualization environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTargetEnvironment

      public void setTargetEnvironment(ExportEnvironment targetEnvironment)

      The target virtualization environment.

      Parameters:
      targetEnvironment - The target virtualization environment.
      See Also:
    • withTargetEnvironment

      public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)

      The target virtualization environment.

      Parameters:
      targetEnvironment - The target virtualization environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 InstanceExportDetails clone()
      Overrides:
      clone in class Object