Class CloudClusterInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CloudClusterInstance.Builder displayName​(String displayName)
        The user-friendly name for the cluster instance.

        The name does not have to be unique.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • componentName

        public CloudClusterInstance.Builder componentName​(String componentName)
        The name of the cloud cluster instance.
        Parameters:
        componentName - the value to set
        Returns:
        this builder
      • cloudClusterId

        public CloudClusterInstance.Builder cloudClusterId​(String cloudClusterId)
        The OCID of the cloud cluster that the cluster instance belongs to.
        Parameters:
        cloudClusterId - the value to set
        Returns:
        this builder
      • cloudDbSystemId

        public CloudClusterInstance.Builder cloudDbSystemId​(String cloudDbSystemId)
        The OCID of the cloud DB system that the cluster instance is a part of.
        Parameters:
        cloudDbSystemId - the value to set
        Returns:
        this builder
      • cloudDbNodeId

        public CloudClusterInstance.Builder cloudDbNodeId​(String cloudDbNodeId)
        The OCID of the cloud DB node.
        Parameters:
        cloudDbNodeId - the value to set
        Returns:
        this builder
      • cloudConnectorId

        public CloudClusterInstance.Builder cloudConnectorId​(String cloudConnectorId)
        The OCID of the cloud connector.
        Parameters:
        cloudConnectorId - the value to set
        Returns:
        this builder
      • hostName

        public CloudClusterInstance.Builder hostName​(String hostName)
        The name of the host on which the cluster instance is running.
        Parameters:
        hostName - the value to set
        Returns:
        this builder
      • crsBaseDirectory

        public CloudClusterInstance.Builder crsBaseDirectory​(String crsBaseDirectory)
        The Oracle base location of Cluster Ready Services (CRS).
        Parameters:
        crsBaseDirectory - the value to set
        Returns:
        this builder
      • adrHomeDirectory

        public CloudClusterInstance.Builder adrHomeDirectory​(String adrHomeDirectory)
        The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.
        Parameters:
        adrHomeDirectory - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public CloudClusterInstance.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public CloudClusterInstance.Builder timeCreated​(Date timeCreated)
        The date and time the cloud cluster instance was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public CloudClusterInstance.Builder timeUpdated​(Date timeUpdated)
        The date and time the cloud cluster instance was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • freeformTags

        public CloudClusterInstance.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public CloudClusterInstance.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

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