@Generated(value="software.amazon.awssdk:codegen") public final class Snapshot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Snapshot.Builder,Snapshot>
Represents a copy of an entire cluster as of the time when the snapshot was taken.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Snapshot.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN (Amazon Resource Name) of the snapshot.
|
static Snapshot.Builder |
builder() |
ClusterConfiguration |
clusterConfiguration()
The configuration of the cluster from which the snapshot was taken
|
DataTieringStatus |
dataTiering()
Enables data tiering.
|
String |
dataTieringAsString()
Enables data tiering.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the KMS key used to encrypt the snapshot.
|
String |
name()
The name of the snapshot
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Snapshot.Builder> |
serializableBuilderClass() |
String |
source()
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
|
String |
status()
The status of the snapshot.
|
Snapshot.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the snapshot
public final String status()
The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.
public final String source()
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
public final String kmsKeyId()
The ID of the KMS key used to encrypt the snapshot.
public final String arn()
The ARN (Amazon Resource Name) of the snapshot.
public final ClusterConfiguration clusterConfiguration()
The configuration of the cluster from which the snapshot was taken
public final DataTieringStatus dataTiering()
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
If the service returns an enum value that is not available in the current SDK version, dataTiering will
return DataTieringStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTieringAsString().
DataTieringStatuspublic final String dataTieringAsString()
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
If the service returns an enum value that is not available in the current SDK version, dataTiering will
return DataTieringStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTieringAsString().
DataTieringStatuspublic Snapshot.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Snapshot.Builder,Snapshot>public static Snapshot.Builder builder()
public static Class<? extends Snapshot.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.