@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) |
boolean |
equalsBySdkFields(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()
Returns a string representation of this object.
|
String |
volumeARN()
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String volumeARN()
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
public final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.