@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.
|
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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
SnapshotState
public 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()
.
SnapshotState
public 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 RestoreSnapshotFromRecycleBinResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RestoreSnapshotFromRecycleBinResponse.Builder,RestoreSnapshotFromRecycleBinResponse>
toBuilder
in class AwsResponse
public static RestoreSnapshotFromRecycleBinResponse.Builder builder()
public static Class<? extends RestoreSnapshotFromRecycleBinResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.