Class NodeSnapshot
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.NodeSnapshot
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<NodeSnapshot.Builder,NodeSnapshot>
@Generated("software.amazon.awssdk:codegen") public final class NodeSnapshot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeSnapshot.Builder,NodeSnapshot>
Represents an individual cache node in a snapshot of a cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NodeSnapshot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeSnapshot.Builder
builder()
String
cacheClusterId()
A unique identifier for the source cluster.Instant
cacheNodeCreateTime()
The date and time when the cache node was created in the source cluster.String
cacheNodeId()
The cache node identifier for the node in the source cluster.String
cacheSize()
The size of the cache on the source cache node.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
NodeGroupConfiguration
nodeGroupConfiguration()
The configuration for the source node group (shard).String
nodeGroupId()
A unique identifier for the source node group (shard).List<SdkField<?>>
sdkFields()
static Class<? extends NodeSnapshot.Builder>
serializableBuilderClass()
Instant
snapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.NodeSnapshot.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cacheClusterId
public final String cacheClusterId()
A unique identifier for the source cluster.
- Returns:
- A unique identifier for the source cluster.
-
nodeGroupId
public final String nodeGroupId()
A unique identifier for the source node group (shard).
- Returns:
- A unique identifier for the source node group (shard).
-
cacheNodeId
public final String cacheNodeId()
The cache node identifier for the node in the source cluster.
- Returns:
- The cache node identifier for the node in the source cluster.
-
nodeGroupConfiguration
public final NodeGroupConfiguration nodeGroupConfiguration()
The configuration for the source node group (shard).
- Returns:
- The configuration for the source node group (shard).
-
cacheSize
public final String cacheSize()
The size of the cache on the source cache node.
- Returns:
- The size of the cache on the source cache node.
-
cacheNodeCreateTime
public final Instant cacheNodeCreateTime()
The date and time when the cache node was created in the source cluster.
- Returns:
- The date and time when the cache node was created in the source cluster.
-
snapshotCreateTime
public final Instant snapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Returns:
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
toBuilder
public NodeSnapshot.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<NodeSnapshot.Builder,NodeSnapshot>
-
builder
public static NodeSnapshot.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeSnapshot.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-