Class Node
- java.lang.Object
-
- software.amazon.awssdk.services.memorydb.model.Node
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Node.Builder,Node>
@Generated("software.amazon.awssdk:codegen") public final class Node extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Node.Builder,Node>
Represents an individual node within a cluster. Each node runs its own instance of the cluster's protocol-compliant caching software.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone in which the node residesstatic Node.Builderbuilder()InstantcreateTime()The date and time when the node was created.Endpointendpoint()The hostname for connecting to this node.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The node identifier.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Node.Builder>serializableBuilderClass()Stringstatus()The status of the service update on the nodeNode.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
-
name
public final String name()
The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.
- Returns:
- The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.
-
status
public final String status()
The status of the service update on the node
- Returns:
- The status of the service update on the node
-
availabilityZone
public final String availabilityZone()
The Availability Zone in which the node resides
- Returns:
- The Availability Zone in which the node resides
-
createTime
public final Instant createTime()
The date and time when the node was created.
- Returns:
- The date and time when the node was created.
-
endpoint
public final Endpoint endpoint()
The hostname for connecting to this node.
- Returns:
- The hostname for connecting to this node.
-
toBuilder
public Node.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Node.Builder,Node>
-
builder
public static Node.Builder builder()
-
serializableBuilderClass
public static Class<? extends Node.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
-
-