@Generated(value="software.amazon.awssdk:codegen") public final class CreateSnapshotResponse extends StorageGatewayResponse implements ToCopyableBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>
A JSON object containing the following fields:
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateSnapshotResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateSnapshotResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSnapshotResponse.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon
Elastic Compute Cloud API
DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume). |
CreateSnapshotResponse.Builder |
toBuilder() |
String |
toString() |
String |
volumeARN()
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String volumeARN()
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
public String snapshotId()
The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon
Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).
DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).public CreateSnapshotResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>toBuilder in class AwsResponsepublic static CreateSnapshotResponse.Builder builder()
public static Class<? extends CreateSnapshotResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.