@Generated(value="software.amazon.awssdk:codegen") public final class ExportToS3TaskSpecification extends Object implements ToCopyableBuilder<ExportToS3TaskSpecification.Builder,ExportToS3TaskSpecification>
Describes an instance export task.
Modifier and Type | Class and Description |
---|---|
static interface |
ExportToS3TaskSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
static ExportToS3TaskSpecification.Builder |
builder() |
ContainerFormat |
containerFormat()
The container format used to combine disk images with metadata (such as OVF).
|
String |
containerFormatAsString()
The container format used to combine disk images with metadata (such as OVF).
|
DiskImageFormat |
diskImageFormat()
The format for the exported image.
|
String |
diskImageFormatAsString()
The format for the exported image.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3Bucket()
The S3 bucket for the destination image.
|
String |
s3Prefix()
The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + '.' +
diskImageFormat.
|
static Class<? extends ExportToS3TaskSpecification.Builder> |
serializableBuilderClass() |
ExportToS3TaskSpecification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ContainerFormat containerFormat()
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
If the service returns an enum value that is not available in the current SDK version, containerFormat
will return ContainerFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from containerFormatAsString()
.
ContainerFormat
public String containerFormatAsString()
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
If the service returns an enum value that is not available in the current SDK version, containerFormat
will return ContainerFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from containerFormatAsString()
.
ContainerFormat
public DiskImageFormat diskImageFormat()
The format for the exported image.
If the service returns an enum value that is not available in the current SDK version, diskImageFormat
will return DiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from diskImageFormatAsString()
.
DiskImageFormat
public String diskImageFormatAsString()
The format for the exported image.
If the service returns an enum value that is not available in the current SDK version, diskImageFormat
will return DiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from diskImageFormatAsString()
.
DiskImageFormat
public String 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
.
vm-import-export@amazon.com
.public String s3Prefix()
The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
public ExportToS3TaskSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ExportToS3TaskSpecification.Builder,ExportToS3TaskSpecification>
public static ExportToS3TaskSpecification.Builder builder()
public static Class<? extends ExportToS3TaskSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.