Class AddBlockStorageDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clusterAdminPassword

        public AddBlockStorageDetails.Builder clusterAdminPassword​(String clusterAdminPassword)
        Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
        Parameters:
        clusterAdminPassword - the value to set
        Returns:
        this builder
      • secretId

        public AddBlockStorageDetails.Builder secretId​(String secretId)
        The secretId for the clusterAdminPassword.
        Parameters:
        secretId - the value to set
        Returns:
        this builder
      • blockVolumeSizeInGBs

        public AddBlockStorageDetails.Builder blockVolumeSizeInGBs​(Long blockVolumeSizeInGBs)
        The size of block volume in GB to be added.

        For WORKER, COMPUTE_ONLY_WORKER, and KAFKA_BROKER nodes, the same size will be added to all nodes of that type. For EDGE nodes, this size can be different per node when nodeId is specified. All the details needed for attaching the block volume are managed by service itself.

        Parameters:
        blockVolumeSizeInGBs - the value to set
        Returns:
        this builder
      • nodeIds

        public AddBlockStorageDetails.Builder nodeIds​(List<String> nodeIds)
        Optional.

        List of OCIDs of specific nodes to add storage to. Only supported for EDGE nodes. When omitted, storage is added to all nodes of the specified type.

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