@Generated(value="software.amazon.awssdk:codegen") public final class RestoreSnapshotFromRecycleBinResponse extends Ec2Response implements ToCopyableBuilder<RestoreSnapshotFromRecycleBinResponse.Builder,RestoreSnapshotFromRecycleBinResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RestoreSnapshotFromRecycleBinResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RestoreSnapshotFromRecycleBinResponse.Builder |
builder() |
String |
description()
The description for the snapshot.
|
Boolean |
encrypted()
Indicates whether the snapshot is encrypted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
outpostArn()
The ARN of the Outpost on which the snapshot is stored.
|
String |
ownerId()
The ID of the Amazon Web Services account that owns the EBS snapshot.
|
String |
progress()
The progress of the snapshot, as a percentage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RestoreSnapshotFromRecycleBinResponse.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot.
|
SSEType |
sseType()
Reserved for future use.
|
String |
sseTypeAsString()
Reserved for future use.
|
Instant |
startTime()
The time stamp when the snapshot was initiated.
|
SnapshotState |
state()
The state of the snapshot.
|
String |
stateAsString()
The state of the snapshot.
|
RestoreSnapshotFromRecycleBinResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeId()
The ID of the volume that was used to create the snapshot.
|
Integer |
volumeSize()
The size of the volume, in GiB.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String snapshotId()
The ID of the snapshot.
public final String outpostArn()
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
public final String description()
The description for the snapshot.
public final Boolean encrypted()
Indicates whether the snapshot is encrypted.
public final String ownerId()
The ID of the Amazon Web Services account that owns the EBS snapshot.
public final String progress()
The progress of the snapshot, as a percentage.
public final Instant startTime()
The time stamp when the snapshot was initiated.
public final SnapshotState state()
The state of the snapshot.
If the service returns an enum value that is not available in the current SDK version, state will return
SnapshotState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
SnapshotStatepublic final String stateAsString()
The state of the snapshot.
If the service returns an enum value that is not available in the current SDK version, state will return
SnapshotState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
SnapshotStatepublic final String volumeId()
The ID of the volume that was used to create the snapshot.
public final Integer volumeSize()
The size of the volume, in GiB.
public final SSEType sseType()
Reserved for future use.
If the service returns an enum value that is not available in the current SDK version, sseType will
return SSEType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sseTypeAsString().
SSETypepublic final String sseTypeAsString()
Reserved for future use.
If the service returns an enum value that is not available in the current SDK version, sseType will
return SSEType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sseTypeAsString().
SSETypepublic RestoreSnapshotFromRecycleBinResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RestoreSnapshotFromRecycleBinResponse.Builder,RestoreSnapshotFromRecycleBinResponse>toBuilder in class AwsResponsepublic static RestoreSnapshotFromRecycleBinResponse.Builder builder()
public static Class<? extends RestoreSnapshotFromRecycleBinResponse.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 © 2023. All rights reserved.