Class NodeGroupMember
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
Represents a single node within a node group (shard).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeGroupMember.Builderbuilder()final StringThe ID of the cluster to which the node belongs.final StringThe ID of the node within its cluster.final StringThe role that is currently assigned to the node -primaryorreplica.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the Availability Zone in which the node is located.final StringThe outpost ARN of the node group member.final EndpointThe information required for client programs to connect to a node for read operations.static Class<? extends NodeGroupMember.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
cacheClusterId
The ID of the cluster to which the node belongs.
- Returns:
- The ID of the cluster to which the node belongs.
-
cacheNodeId
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
- Returns:
- The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
-
readEndpoint
The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Valkey or Redis OSS (cluster mode disabled) clusters.
- Returns:
- The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Valkey or Redis OSS (cluster mode disabled) clusters.
-
preferredAvailabilityZone
The name of the Availability Zone in which the node is located.
- Returns:
- The name of the Availability Zone in which the node is located.
-
preferredOutpostArn
The outpost ARN of the node group member.
- Returns:
- The outpost ARN of the node group member.
-
currentRole
The role that is currently assigned to the node -
primaryorreplica. This member is only applicable for Valkey or Redis OSS (cluster mode disabled) replication groups.- Returns:
- The role that is currently assigned to the node -
primaryorreplica. This member is only applicable for Valkey or Redis OSS (cluster mode disabled) replication groups.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-