@Generated(value="software.amazon.awssdk:codegen") public final class SnapshotDiskContainer extends Object implements ToCopyableBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>
The disk container object for the import snapshot request.
Modifier and Type | Class and Description |
---|---|
static interface |
SnapshotDiskContainer.Builder |
Modifier and Type | Method and Description |
---|---|
static SnapshotDiskContainer.Builder |
builder() |
String |
description()
The description of the disk image being imported.
|
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 SnapshotDiskContainer.Builder> |
serializableBuilderClass() |
SnapshotDiskContainer.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 being imported.
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 url()
The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
public UserBucket userBucket()
The S3 bucket for the disk image.
public SnapshotDiskContainer.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>
public static SnapshotDiskContainer.Builder builder()
public static Class<? extends SnapshotDiskContainer.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.