Class ExportToS3Task
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the format and location for an instance export task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The container format used to combine disk images with metadata (such as OVF).The format for the exported image.The S3 bucket for the destination image.getS3Key()
The encryption key for your S3 bucket.int
hashCode()
void
setContainerFormat
(ContainerFormat containerFormat) The container format used to combine disk images with metadata (such as OVF).void
setContainerFormat
(String containerFormat) The container format used to combine disk images with metadata (such as OVF).void
setDiskImageFormat
(DiskImageFormat diskImageFormat) The format for the exported image.void
setDiskImageFormat
(String diskImageFormat) The format for the exported image.void
setS3Bucket
(String s3Bucket) The S3 bucket for the destination image.void
The encryption key for your S3 bucket.toString()
Returns a string representation of this object; useful for testing and debugging.withContainerFormat
(ContainerFormat containerFormat) The container format used to combine disk images with metadata (such as OVF).withContainerFormat
(String containerFormat) The container format used to combine disk images with metadata (such as OVF).withDiskImageFormat
(DiskImageFormat diskImageFormat) The format for the exported image.withDiskImageFormat
(String diskImageFormat) The format for the exported image.withS3Bucket
(String s3Bucket) The S3 bucket for the destination image.The encryption key for your S3 bucket.
-
Constructor Details
-
ExportToS3Task
public ExportToS3Task()
-
-
Method Details
-
setDiskImageFormat
The format for the exported image.
- Parameters:
diskImageFormat
- The format for the exported image.- See Also:
-
getDiskImageFormat
The format for the exported image.
- Returns:
- The format for the exported image.
- See Also:
-
withDiskImageFormat
The format for the exported image.
- Parameters:
diskImageFormat
- The format for the exported image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDiskImageFormat
The format for the exported image.
- Parameters:
diskImageFormat
- The format for the exported image.- See Also:
-
withDiskImageFormat
The format for the exported image.
- Parameters:
diskImageFormat
- The format for the exported image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setContainerFormat
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- Parameters:
containerFormat
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.- See Also:
-
getContainerFormat
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- Returns:
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- See Also:
-
withContainerFormat
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- Parameters:
containerFormat
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setContainerFormat
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- Parameters:
containerFormat
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.- See Also:
-
withContainerFormat
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- Parameters:
containerFormat
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setS3Bucket
The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account
vm-import-export@amazon.com
.- Parameters:
s3Bucket
- The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS accountvm-import-export@amazon.com
.
-
getS3Bucket
The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account
vm-import-export@amazon.com
.- Returns:
- The S3 bucket for the destination image. The destination bucket
must exist and grant WRITE and READ_ACP permissions to the AWS
account
vm-import-export@amazon.com
.
-
withS3Bucket
The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account
vm-import-export@amazon.com
.- Parameters:
s3Bucket
- The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS accountvm-import-export@amazon.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3Key
The encryption key for your S3 bucket.
- Parameters:
s3Key
- The encryption key for your S3 bucket.
-
getS3Key
The encryption key for your S3 bucket.
- Returns:
- The encryption key for your S3 bucket.
-
withS3Key
The encryption key for your S3 bucket.
- Parameters:
s3Key
- The encryption key for your S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-