Class CreateInstanceExportTaskRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateInstanceExportTaskRequest>
,Serializable
,Cloneable
Contains the parameters for CreateInstanceExportTask.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A description for the conversion task or the resource being exported.This method is intended for internal use only.The format and location for an instance export task.The ID of the instance.The target virtualization environment.int
hashCode()
void
setDescription
(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
(String instanceId) The ID of the instance.void
setTargetEnvironment
(ExportEnvironment targetEnvironment) The target virtualization environment.void
setTargetEnvironment
(String targetEnvironment) The target virtualization environment.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A description for the conversion task or the resource being exported.withExportToS3Task
(ExportToS3TaskSpecification exportToS3Task) The format and location for an instance export task.withInstanceId
(String instanceId) The ID of the instance.withTargetEnvironment
(ExportEnvironment targetEnvironment) The target virtualization environment.withTargetEnvironment
(String targetEnvironment) The target virtualization environment.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateInstanceExportTaskRequest
public CreateInstanceExportTaskRequest()
-
-
Method Details
-
setDescription
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
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
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
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
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
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- See Also:
-
getTargetEnvironment
The target virtualization environment.
- Returns:
- The target virtualization environment.
- See Also:
-
withTargetEnvironment
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
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- See Also:
-
withTargetEnvironment
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
The format and location for an instance export task.
- Parameters:
exportToS3Task
- The format and location for an instance export task.
-
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
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 interfaceDryRunSupportedRequest<CreateInstanceExportTaskRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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 classAmazonWebServiceRequest
- See Also:
-