@Generated(value="software.amazon.awssdk:codegen") public class ExportToS3Task extends Object implements ToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>
Describes the format and location for an instance export task.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExportToS3Task.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExportToS3Task.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 |
s3Key()
The encryption key for your S3 bucket.
|
static Class<? extends ExportToS3Task.Builder> |
serializableBuilderClass() |
ExportToS3Task.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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().
ContainerFormatpublic 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().
ContainerFormatpublic 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().
DiskImageFormatpublic 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().
DiskImageFormatpublic 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 s3Key()
The encryption key for your S3 bucket.
public ExportToS3Task.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>public static ExportToS3Task.Builder builder()
public static Class<? extends ExportToS3Task.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.