@Generated(value="software.amazon.awssdk:codegen") public final class ExportToS3TaskSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportToS3TaskSpecification.Builder,ExportToS3TaskSpecification>
Describes an export instance 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3Bucket()
The Amazon S3 bucket for the destination image.
|
String |
s3Prefix()
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' +
diskImageFormat.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportToS3TaskSpecification.Builder> |
serializableBuilderClass() |
ExportToS3TaskSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final 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 final 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 final 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 final String s3Bucket()
The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list
(ACL) attached that specifies the Region-specific canonical account ID for the Grantee
. For more
information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
Grantee
. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.public final String s3Prefix()
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
public ExportToS3TaskSpecification.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ExportToS3TaskSpecification.Builder,ExportToS3TaskSpecification>
public static ExportToS3TaskSpecification.Builder builder()
public static Class<? extends ExportToS3TaskSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.