Class ExternalClusterInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ExternalClusterInstance.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 ExternalClusterInstance.Builder componentName​(String componentName)
        The name of the external cluster instance.
        Parameters:
        componentName - the value to set
        Returns:
        this builder
      • externalClusterId

        public ExternalClusterInstance.Builder externalClusterId​(String externalClusterId)
        The OCID of the external cluster that the cluster instance belongs to.
        Parameters:
        externalClusterId - the value to set
        Returns:
        this builder
      • externalDbSystemId

        public ExternalClusterInstance.Builder externalDbSystemId​(String externalDbSystemId)
        The OCID of the external DB system that the cluster instance is a part of.
        Parameters:
        externalDbSystemId - the value to set
        Returns:
        this builder
      • externalDbNodeId

        public ExternalClusterInstance.Builder externalDbNodeId​(String externalDbNodeId)
        The OCID of the external DB node.
        Parameters:
        externalDbNodeId - the value to set
        Returns:
        this builder
      • externalConnectorId

        public ExternalClusterInstance.Builder externalConnectorId​(String externalConnectorId)
        The OCID of the external connector.
        Parameters:
        externalConnectorId - the value to set
        Returns:
        this builder
      • hostName

        public ExternalClusterInstance.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 ExternalClusterInstance.Builder crsBaseDirectory​(String crsBaseDirectory)
        The Oracle base location of Cluster Ready Services (CRS).
        Parameters:
        crsBaseDirectory - the value to set
        Returns:
        this builder
      • adrHomeDirectory

        public ExternalClusterInstance.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 ExternalClusterInstance.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

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

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

        public ExternalClusterInstance.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 ExternalClusterInstance.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 ExternalClusterInstance.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