@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
|
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 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 © 2021. All rights reserved.