Class CreateInstanceExportTaskRequest
- All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<CreateInstanceExportTaskRequest>, Serializable, Cloneable
Contains the parameters for CreateInstanceExportTask.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanA 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.inthashCode()voidsetDescription(String description) A description for the conversion task or the resource being exported.voidsetExportToS3Task(ExportToS3TaskSpecification exportToS3Task) The format and location for an instance export task.voidsetInstanceId(String instanceId) The ID of the instance.voidsetTargetEnvironment(ExportEnvironment targetEnvironment) The target virtualization environment.voidsetTargetEnvironment(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 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
-
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:
getDryRunRequestin interfaceDryRunSupportedRequest<CreateInstanceExportTaskRequest>
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-