public class ExportToS3Task
extends java.lang.Object
implements java.io.Serializable
Describes the format and location for an instance export task.
| Constructor and Description |
|---|
ExportToS3Task() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContainerFormat()
The container format used to combine disk images with metadata (such
as OVF).
|
java.lang.String |
getDiskImageFormat()
The format for the exported image.
|
java.lang.String |
getS3Bucket()
The S3 bucket for the destination image.
|
java.lang.String |
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(java.lang.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(java.lang.String diskImageFormat)
The format for the exported image.
|
void |
setS3Bucket(java.lang.String s3Bucket)
The S3 bucket for the destination image.
|
void |
setS3Key(java.lang.String s3Key)
The encryption key for your S3 bucket.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportToS3Task |
withContainerFormat(ContainerFormat containerFormat)
The container format used to combine disk images with metadata (such
as OVF).
|
ExportToS3Task |
withContainerFormat(java.lang.String containerFormat)
The container format used to combine disk images with metadata (such
as OVF).
|
ExportToS3Task |
withDiskImageFormat(DiskImageFormat diskImageFormat)
The format for the exported image.
|
ExportToS3Task |
withDiskImageFormat(java.lang.String diskImageFormat)
The format for the exported image.
|
ExportToS3Task |
withS3Bucket(java.lang.String s3Bucket)
The S3 bucket for the destination image.
|
ExportToS3Task |
withS3Key(java.lang.String s3Key)
The encryption key for your S3 bucket.
|
public java.lang.String getDiskImageFormat()
Constraints:
Allowed Values: VMDK, RAW, VHD
DiskImageFormatpublic void setDiskImageFormat(java.lang.String diskImageFormat)
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat - The format for the exported image.DiskImageFormatpublic ExportToS3Task withDiskImageFormat(java.lang.String diskImageFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat - The format for the exported image.DiskImageFormatpublic void setDiskImageFormat(DiskImageFormat diskImageFormat)
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat - The format for the exported image.DiskImageFormatpublic ExportToS3Task withDiskImageFormat(DiskImageFormat diskImageFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat - The format for the exported image.DiskImageFormatpublic java.lang.String getContainerFormat()
Constraints:
Allowed Values: ova
ContainerFormatpublic void setContainerFormat(java.lang.String containerFormat)
Constraints:
Allowed Values: ova
containerFormat - The container format used to combine disk images with metadata (such
as OVF). If absent, only the disk image is exported.ContainerFormatpublic ExportToS3Task withContainerFormat(java.lang.String containerFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ova
containerFormat - The container format used to combine disk images with metadata (such
as OVF). If absent, only the disk image is exported.ContainerFormatpublic void setContainerFormat(ContainerFormat containerFormat)
Constraints:
Allowed Values: ova
containerFormat - The container format used to combine disk images with metadata (such
as OVF). If absent, only the disk image is exported.ContainerFormatpublic ExportToS3Task withContainerFormat(ContainerFormat containerFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ova
containerFormat - The container format used to combine disk images with metadata (such
as OVF). If absent, only the disk image is exported.ContainerFormatpublic java.lang.String getS3Bucket()
vm-import-export@amazon.com.vm-import-export@amazon.com.public void setS3Bucket(java.lang.String s3Bucket)
vm-import-export@amazon.com.s3Bucket - 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.public ExportToS3Task withS3Bucket(java.lang.String s3Bucket)
vm-import-export@amazon.com.
Returns a reference to this object so that method calls can be chained together.
s3Bucket - 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.public java.lang.String getS3Key()
public void setS3Key(java.lang.String s3Key)
s3Key - The encryption key for your S3 bucket.public ExportToS3Task withS3Key(java.lang.String s3Key)
Returns a reference to this object so that method calls can be chained together.
s3Key - The encryption key for your S3 bucket.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.