Class BdsInstance.Builder

  • Enclosing class:
    BdsInstance

    public static class BdsInstance.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public BdsInstance.Builder id​(String id)
        The OCID of the Big Data Service resource.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public BdsInstance.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public BdsInstance.Builder displayName​(String displayName)
        The name of the cluster.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • isHighAvailability

        public BdsInstance.Builder isHighAvailability​(Boolean isHighAvailability)
        Boolean flag specifying whether or not the cluster is highly available (HA)
        Parameters:
        isHighAvailability - the value to set
        Returns:
        this builder
      • isSecure

        public BdsInstance.Builder isSecure​(Boolean isSecure)
        Boolean flag specifying whether or not the cluster should be set up as secure.
        Parameters:
        isSecure - the value to set
        Returns:
        this builder
      • isCloudSqlConfigured

        public BdsInstance.Builder isCloudSqlConfigured​(Boolean isCloudSqlConfigured)
        Boolean flag specifying whether or not Cloud SQL should be configured.
        Parameters:
        isCloudSqlConfigured - the value to set
        Returns:
        this builder
      • isKafkaConfigured

        public BdsInstance.Builder isKafkaConfigured​(Boolean isKafkaConfigured)
        Boolean flag specifying whether or not Kafka should be configured.
        Parameters:
        isKafkaConfigured - the value to set
        Returns:
        this builder
      • nodes

        public BdsInstance.Builder nodes​(List<Node> nodes)
        The list of nodes in the cluster.
        Parameters:
        nodes - the value to set
        Returns:
        this builder
      • createdBy

        public BdsInstance.Builder createdBy​(String createdBy)
        The user who created the cluster.
        Parameters:
        createdBy - the value to set
        Returns:
        this builder
      • timeCreated

        public BdsInstance.Builder timeCreated​(Date timeCreated)
        The time the cluster was created, shown as an RFC 3339 formatted datetime string.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public BdsInstance.Builder timeUpdated​(Date timeUpdated)
        The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • numberOfNodes

        public BdsInstance.Builder numberOfNodes​(Integer numberOfNodes)
        Number of nodes that forming the cluster
        Parameters:
        numberOfNodes - the value to set
        Returns:
        this builder
      • numberOfNodesRequiringMaintenanceReboot

        public BdsInstance.Builder numberOfNodesRequiringMaintenanceReboot​(Integer numberOfNodesRequiringMaintenanceReboot)
        Number of nodes that require a maintenance reboot
        Parameters:
        numberOfNodesRequiringMaintenanceReboot - the value to set
        Returns:
        this builder
      • bootstrapScriptUrl

        public BdsInstance.Builder bootstrapScriptUrl​(String bootstrapScriptUrl)
        pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.
        Parameters:
        bootstrapScriptUrl - the value to set
        Returns:
        this builder
      • freeformTags

        public BdsInstance.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type, or scope.

        Exists for cross-compatibility only. For example, {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public BdsInstance.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For example, {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • kmsKeyId

        public BdsInstance.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the Key Management master encryption key.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder