Class ImageDiskContainer
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ImageDiskContainer
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
@Generated("software.amazon.awssdk:codegen") public final class ImageDiskContainer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
Describes the disk container object for an import image task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageDiskContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageDiskContainer.Builderbuilder()Stringdescription()The description of the disk image.StringdeviceName()The block device mapping for the disk.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringformat()The format of the disk image being imported.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImageDiskContainer.Builder>serializableBuilderClass()StringsnapshotId()The ID of the EBS snapshot to be used for importing the snapshot.ImageDiskContainer.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL to the Amazon S3-based disk image being imported.UserBucketuserBucket()The S3 bucket for the disk image.-
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
-
description
public final String description()
The description of the disk image.
- Returns:
- The description of the disk image.
-
deviceName
public final String deviceName()
The block device mapping for the disk.
- Returns:
- The block device mapping for the disk.
-
format
public final String format()
The format of the disk image being imported.
Valid values:
OVA|VHD|VHDX|VMDK|RAW- Returns:
- The format of the disk image being imported.
Valid values:
OVA|VHD|VHDX|VMDK|RAW
-
snapshotId
public final String snapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.
- Returns:
- The ID of the EBS snapshot to be used for importing the snapshot.
-
url
public final String url()
The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)
- Returns:
- The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)
-
userBucket
public final UserBucket userBucket()
The S3 bucket for the disk image.
- Returns:
- The S3 bucket for the disk image.
-
toBuilder
public ImageDiskContainer.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
-
builder
public static ImageDiskContainer.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageDiskContainer.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-