@Generated(value="software.amazon.awssdk:codegen") public class ImageDiskContainer extends Object implements ToCopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
Describes the disk container object for an import image task.
Modifier and Type | Class and Description |
---|---|
static interface |
ImageDiskContainer.Builder |
Modifier and Type | Method and 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) |
String |
format()
The format of the disk image being imported.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends ImageDiskContainer.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.
|
ImageDiskContainer.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
url()
The URL to the Amazon S3-based disk image being imported.
|
UserBucket |
userBucket()
The S3 bucket for the disk image.
|
copy
public String description()
The description of the disk image.
public String deviceName()
The block device mapping for the disk.
public String format()
The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
Valid values: RAW
| VHD
| VMDK
| OVA
public String snapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.
public 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://..)
public UserBucket userBucket()
The S3 bucket for the disk image.
public ImageDiskContainer.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
public static ImageDiskContainer.Builder builder()
public static Class<? extends ImageDiskContainer.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.