public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CreateInstanceExportTaskRequest>
Contains the parameters for CreateInstanceExportTask.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A description for the conversion task or the resource being exported.
|
private ExportToS3TaskSpecification |
exportToS3Task
The format and location for an instance export task.
|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
targetEnvironment
The target virtualization environment.
|
NOOP
Constructor and Description |
---|
CreateInstanceExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceExportTaskRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description for the conversion task or the resource being exported.
|
Request<CreateInstanceExportTaskRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
ExportToS3TaskSpecification |
getExportToS3Task()
The format and location for an instance export task.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description for the conversion task or the resource being exported.
|
void |
setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateInstanceExportTaskRequest |
withDescription(java.lang.String description)
A description for the conversion task or the resource being exported.
|
CreateInstanceExportTaskRequest |
withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
CreateInstanceExportTaskRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String description
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
private java.lang.String instanceId
The ID of the instance.
private java.lang.String targetEnvironment
The target virtualization environment.
private ExportToS3TaskSpecification exportToS3Task
The format and location for an instance export task.
public void setDescription(java.lang.String description)
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
description
- A description for the conversion task or the resource being
exported. The maximum length is 255 bytes.public java.lang.String getDescription()
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
public CreateInstanceExportTaskRequest withDescription(java.lang.String description)
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
description
- A description for the conversion task or the resource being
exported. The maximum length is 255 bytes.public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public CreateInstanceExportTaskRequest withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public java.lang.String getTargetEnvironment()
The target virtualization environment.
ExportEnvironment
public CreateInstanceExportTaskRequest withTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public void setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
exportToS3Task
- The format and location for an instance export task.public ExportToS3TaskSpecification getExportToS3Task()
The format and location for an instance export task.
public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
exportToS3Task
- The format and location for an instance export task.public Request<CreateInstanceExportTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateInstanceExportTaskRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateInstanceExportTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()