@Generated(value="software.amazon.awssdk:codegen") public final class ExportToS3Task extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportToS3Task.Builder> |
serializableBuilderClass() |
ExportToS3Task.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 [email protected]
.
[email protected]
.public String s3Key()
The encryption key for your S3 bucket.
public ExportToS3Task.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>
public static ExportToS3Task.Builder builder()
public static Class<? extends ExportToS3Task.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.