Class ReplaceNodeDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • nodeHostName

        public ReplaceNodeDetails.Builder nodeHostName​(String nodeHostName)
        Host name of the node to replace.

        MASTER, UTILITY and EDGE node are only supported types

        Parameters:
        nodeHostName - the value to set
        Returns:
        this builder
      • nodeBackupId

        public ReplaceNodeDetails.Builder nodeBackupId​(String nodeBackupId)
        The id of the nodeBackup to use for replacing the node.
        Parameters:
        nodeBackupId - the value to set
        Returns:
        this builder
      • clusterAdminPassword

        public ReplaceNodeDetails.Builder clusterAdminPassword​(String clusterAdminPassword)
        Base-64 encoded password for the cluster admin user.
        Parameters:
        clusterAdminPassword - the value to set
        Returns:
        this builder
      • shape

        public ReplaceNodeDetails.Builder shape​(String shape)
        Shape of the new vm when replacing the node.

        If not provided, BDS will attempt to replace the node with the shape of current node.

        Parameters:
        shape - the value to set
        Returns:
        this builder