Class CreateInstanceExportTaskRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateInstanceExportTaskRequest
All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<CreateInstanceExportTaskRequest>, Serializable, Cloneable

public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateInstanceExportTaskRequest>

Contains the parameters for CreateInstanceExportTask.

See Also:
  • Constructor Details

    • CreateInstanceExportTaskRequest

      public CreateInstanceExportTaskRequest()
  • Method Details

    • setDescription

      public void setDescription(String description)

      A description for the conversion task or the resource being exported. The maximum length is 255 bytes.

      Parameters:
      description - A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
    • getDescription

      public String getDescription()

      A description for the conversion task or the resource being exported. The maximum length is 255 bytes.

      Returns:
      A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
    • withDescription

      public CreateInstanceExportTaskRequest withDescription(String description)

      A description for the conversion task or the resource being exported. The maximum length is 255 bytes.

      Parameters:
      description - A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstanceId

      public void setInstanceId(String instanceId)

      The ID of the instance.

      Parameters:
      instanceId - The ID of the instance.
    • getInstanceId

      public String getInstanceId()

      The ID of the instance.

      Returns:
      The ID of the instance.
    • withInstanceId

      public CreateInstanceExportTaskRequest withInstanceId(String instanceId)

      The ID of the instance.

      Parameters:
      instanceId - The ID of the instance.
      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 CreateInstanceExportTaskRequest 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 CreateInstanceExportTaskRequest 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:
    • setExportToS3Task

      public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)

      The format and location for an instance export task.

      Parameters:
      exportToS3Task - The format and location for an instance export task.
    • getExportToS3Task

      public ExportToS3TaskSpecification getExportToS3Task()

      The format and location for an instance export task.

      Returns:
      The format and location for an instance export task.
    • withExportToS3Task

      public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)

      The format and location for an instance export task.

      Parameters:
      exportToS3Task - The format and location for an instance export task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getDryRunRequest

      public Request<CreateInstanceExportTaskRequest> getDryRunRequest()
      This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.
      Specified by:
      getDryRunRequest in interface DryRunSupportedRequest<CreateInstanceExportTaskRequest>
    • 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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: