@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ExportImageRequest>
NOOP
Constructor and Description |
---|
ExportImageRequest() |
Modifier and Type | Method and Description |
---|---|
ExportImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Token to enable idempotency for export image requests.
|
String |
getDescription()
A description of the image being exported.
|
String |
getDiskImageFormat()
The disk image format.
|
Request<ExportImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the image.
|
String |
getRoleName()
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
|
ExportTaskS3LocationRequest |
getS3ExportLocation()
Information about the destination S3 bucket.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Token to enable idempotency for export image requests.
|
void |
setDescription(String description)
A description of the image being exported.
|
void |
setDiskImageFormat(String diskImageFormat)
The disk image format.
|
void |
setImageId(String imageId)
The ID of the image.
|
void |
setRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
|
void |
setS3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
ExportImageRequest |
withClientToken(String clientToken)
Token to enable idempotency for export image requests.
|
ExportImageRequest |
withDescription(String description)
A description of the image being exported.
|
ExportImageRequest |
withDiskImageFormat(DiskImageFormat diskImageFormat)
The disk image format.
|
ExportImageRequest |
withDiskImageFormat(String diskImageFormat)
The disk image format.
|
ExportImageRequest |
withImageId(String imageId)
The ID of the image.
|
ExportImageRequest |
withRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
|
ExportImageRequest |
withS3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination S3 bucket.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
Token to enable idempotency for export image requests.
clientToken
- Token to enable idempotency for export image requests.public String getClientToken()
Token to enable idempotency for export image requests.
public ExportImageRequest withClientToken(String clientToken)
Token to enable idempotency for export image requests.
clientToken
- Token to enable idempotency for export image requests.public void setDescription(String description)
A description of the image being exported. The maximum length is 255 bytes.
description
- A description of the image being exported. The maximum length is 255 bytes.public String getDescription()
A description of the image being exported. The maximum length is 255 bytes.
public ExportImageRequest withDescription(String description)
A description of the image being exported. The maximum length is 255 bytes.
description
- A description of the image being exported. The maximum length is 255 bytes.public void setDiskImageFormat(String diskImageFormat)
The disk image format.
diskImageFormat
- The disk image format.DiskImageFormat
public String getDiskImageFormat()
The disk image format.
DiskImageFormat
public ExportImageRequest withDiskImageFormat(String diskImageFormat)
The disk image format.
diskImageFormat
- The disk image format.DiskImageFormat
public ExportImageRequest withDiskImageFormat(DiskImageFormat diskImageFormat)
The disk image format.
diskImageFormat
- The disk image format.DiskImageFormat
public void setImageId(String imageId)
The ID of the image.
imageId
- The ID of the image.public String getImageId()
The ID of the image.
public ExportImageRequest withImageId(String imageId)
The ID of the image.
imageId
- The ID of the image.public void setS3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account [email protected].
s3ExportLocation
- Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP
permissions to the AWS account [email protected].public ExportTaskS3LocationRequest getS3ExportLocation()
Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account [email protected].
public ExportImageRequest withS3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account [email protected].
s3ExportLocation
- Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP
permissions to the AWS account [email protected].public void setRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.
roleName
- The name of the role that grants VM Import/Export permission to export images to your S3 bucket. If this
parameter is not specified, the default role is named 'vmimport'.public String getRoleName()
The name of the role that grants VM Import/Export permission to export images to your S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.
public ExportImageRequest withRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.
roleName
- The name of the role that grants VM Import/Export permission to export images to your S3 bucket. If this
parameter is not specified, the default role is named 'vmimport'.public Request<ExportImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ExportImageRequest>
public String toString()
toString
in class Object
Object.toString()
public ExportImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.