Class NodeDetails.Builder

  • Enclosing class:
    NodeDetails

    public static class NodeDetails.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • hostname

        public NodeDetails.Builder hostname​(String hostname)
        The node host name.
        Parameters:
        hostname - the value to set
        Returns:
        this builder
      • ip

        public NodeDetails.Builder ip​(String ip)
        The node IP address.
        Parameters:
        ip - the value to set
        Returns:
        this builder
      • vipHostname

        public NodeDetails.Builder vipHostname​(String vipHostname)
        The node virtual IP (VIP) host name.
        Parameters:
        vipHostname - the value to set
        Returns:
        this builder
      • vip

        public NodeDetails.Builder vip​(String vip)
        The node virtual IP (VIP) address.
        Parameters:
        vip - the value to set
        Returns:
        this builder
      • lifecycleState

        public NodeDetails.Builder lifecycleState​(NodeDetails.LifecycleState lifecycleState)
        The current state of the VM cluster network nodes.

        CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • dbServerId

        public NodeDetails.Builder dbServerId​(String dbServerId)
        The Db server associated with the node.
        Parameters:
        dbServerId - the value to set
        Returns:
        this builder