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 interfaceNodeSnapshot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeSnapshot.Builderbuilder()StringcacheClusterId()A unique identifier for the source cluster.InstantcacheNodeCreateTime()The date and time when the cache node was created in the source cluster.StringcacheNodeId()The cache node identifier for the node in the source cluster.StringcacheSize()The size of the cache on the source cache node.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NodeGroupConfigurationnodeGroupConfiguration()The configuration for the source node group (shard).StringnodeGroupId()A unique identifier for the source node group (shard).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeSnapshot.Builder>serializableBuilderClass()InstantsnapshotCreateTime()The date and time when the source node's metadata and cache data set was obtained for the snapshot.NodeSnapshot.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-