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 interface
ImageDiskContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageDiskContainer.Builder
builder()
String
description()
The description of the disk image.String
deviceName()
The block device mapping for the disk.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
format()
The format of the disk image being imported.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ImageDiskContainer.Builder>
serializableBuilderClass()
String
snapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.ImageDiskContainer.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
url()
The URL to the Amazon S3-based disk image being imported.UserBucket
userBucket()
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:
toBuilder
in 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:
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.
-
-