Class ExportToS3Task
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ExportToS3Task
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>
@Generated("software.amazon.awssdk:codegen") public final class ExportToS3Task extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>
Describes the format and location for the export task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExportToS3Task.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 Amazon 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
containerFormat
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 returnContainerFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcontainerFormatAsString()
.- Returns:
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- See Also:
ContainerFormat
-
containerFormatAsString
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 returnContainerFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcontainerFormatAsString()
.- Returns:
- The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
- See Also:
ContainerFormat
-
diskImageFormat
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 returnDiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdiskImageFormatAsString()
.- Returns:
- The format for the exported image.
- See Also:
DiskImageFormat
-
diskImageFormatAsString
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 returnDiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdiskImageFormatAsString()
.- Returns:
- The format for the exported image.
- See Also:
DiskImageFormat
-
s3Bucket
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.- Returns:
- 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.
-
s3Key
public final String s3Key()
The encryption key for your S3 bucket.
- Returns:
- The encryption key for your S3 bucket.
-
toBuilder
public ExportToS3Task.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExportToS3Task.Builder,ExportToS3Task>
-
builder
public static ExportToS3Task.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportToS3Task.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-