Class Node

    • 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.
      • serializableBuilderClass

        public static Class<? extends Node.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)