public class ExportToS3TaskSpecification extends Object implements Serializable, Cloneable
Describes an instance export task.
Constructor and Description |
---|
ExportToS3TaskSpecification() |
Modifier and Type | Method and Description |
---|---|
ExportToS3TaskSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getContainerFormat()
The container format used to combine disk images with metadata (such
as OVF).
|
String |
getDiskImageFormat()
The format for the exported image.
|
String |
getS3Bucket()
The S3 bucket for the destination image.
|
String |
getS3Prefix()
The image is written to a single object in the S3 bucket at the S3 key
s3prefix + exportTaskId + '.' + diskImageFormat.
|
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 |
setS3Prefix(String s3Prefix)
The image is written to a single object in the S3 bucket at the S3 key
s3prefix + exportTaskId + '.' + diskImageFormat.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportToS3TaskSpecification |
withContainerFormat(ContainerFormat containerFormat)
The container format used to combine disk images with metadata (such
as OVF).
|
ExportToS3TaskSpecification |
withContainerFormat(String containerFormat)
The container format used to combine disk images with metadata (such
as OVF).
|
ExportToS3TaskSpecification |
withDiskImageFormat(DiskImageFormat diskImageFormat)
The format for the exported image.
|
ExportToS3TaskSpecification |
withDiskImageFormat(String diskImageFormat)
The format for the exported image.
|
ExportToS3TaskSpecification |
withS3Bucket(String s3Bucket)
The S3 bucket for the destination image.
|
ExportToS3TaskSpecification |
withS3Prefix(String s3Prefix)
The image is written to a single object in the S3 bucket at the S3 key
s3prefix + exportTaskId + '.' + diskImageFormat.
|
public String getDiskImageFormat()
Constraints:
Allowed Values: VMDK, RAW, VHD
DiskImageFormat
public void setDiskImageFormat(String diskImageFormat)
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat
- The format for the exported image.DiskImageFormat
public ExportToS3TaskSpecification withDiskImageFormat(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.DiskImageFormat
public void setDiskImageFormat(DiskImageFormat diskImageFormat)
Constraints:
Allowed Values: VMDK, RAW, VHD
diskImageFormat
- The format for the exported image.DiskImageFormat
public ExportToS3TaskSpecification 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.DiskImageFormat
public String getContainerFormat()
Constraints:
Allowed Values: ova
ContainerFormat
public void setContainerFormat(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.ContainerFormat
public ExportToS3TaskSpecification withContainerFormat(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.ContainerFormat
public 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.ContainerFormat
public ExportToS3TaskSpecification 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.ContainerFormat
public String getS3Bucket()
[email protected]
.[email protected]
.public void setS3Bucket(String s3Bucket)
[email protected]
.s3Bucket
- The S3 bucket for the destination image. The destination bucket must
exist and grant WRITE and READ_ACP permissions to the AWS account
[email protected]
.public ExportToS3TaskSpecification withS3Bucket(String s3Bucket)
[email protected]
.
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
[email protected]
.public String getS3Prefix()
public void setS3Prefix(String s3Prefix)
s3Prefix
- The image is written to a single object in the S3 bucket at the S3 key
s3prefix + exportTaskId + '.' + diskImageFormat.public ExportToS3TaskSpecification withS3Prefix(String s3Prefix)
Returns a reference to this object so that method calls can be chained together.
s3Prefix
- The image is written to a single object in the S3 bucket at the S3 key
s3prefix + exportTaskId + '.' + diskImageFormat.public String toString()
toString
in class Object
Object.toString()
public ExportToS3TaskSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.