Class CloudListener.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dbaasId

        public CloudListener.Builder dbaasId​(String dbaasId)
        The OCID in DBaas service.
        Parameters:
        dbaasId - the value to set
        Returns:
        this builder
      • displayName

        public CloudListener.Builder displayName​(String displayName)
        The user-friendly name for the cloud listener.

        The name does not have to be unique.

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

        public CloudListener.Builder componentName​(String componentName)
        The name of the cloud listener.
        Parameters:
        componentName - the value to set
        Returns:
        this builder
      • compartmentId

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

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

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

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

        public CloudListener.Builder cloudDbHomeId​(String cloudDbHomeId)
        The OCID of the cloud DB home.
        Parameters:
        cloudDbHomeId - the value to set
        Returns:
        this builder
      • listenerAlias

        public CloudListener.Builder listenerAlias​(String listenerAlias)
        The listener alias.
        Parameters:
        listenerAlias - the value to set
        Returns:
        this builder
      • additionalDetails

        public CloudListener.Builder additionalDetails​(Map<String,​String> additionalDetails)
        The additional details of the cloud listener defined in {“key”: “value”} format.

        Example: {“bar-key”: “value”}

        Parameters:
        additionalDetails - the value to set
        Returns:
        this builder
      • lifecycleDetails

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

        public CloudListener.Builder listenerOraLocation​(String listenerOraLocation)
        The location of the listener configuration file listener.ora.
        Parameters:
        listenerOraLocation - the value to set
        Returns:
        this builder
      • oracleHome

        public CloudListener.Builder oracleHome​(String oracleHome)
        The Oracle home location of the listener.
        Parameters:
        oracleHome - the value to set
        Returns:
        this builder
      • hostName

        public CloudListener.Builder hostName​(String hostName)
        The name of the host on which the cloud listener is running.
        Parameters:
        hostName - the value to set
        Returns:
        this builder
      • adrHomeDirectory

        public CloudListener.Builder adrHomeDirectory​(String adrHomeDirectory)
        The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled.
        Parameters:
        adrHomeDirectory - the value to set
        Returns:
        this builder
      • logDirectory

        public CloudListener.Builder logDirectory​(String logDirectory)
        The destination directory of the listener log file.
        Parameters:
        logDirectory - the value to set
        Returns:
        this builder
      • traceDirectory

        public CloudListener.Builder traceDirectory​(String traceDirectory)
        The destination directory of the listener trace file.
        Parameters:
        traceDirectory - the value to set
        Returns:
        this builder
      • version

        public CloudListener.Builder version​(String version)
        The listener version.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • endpoints

        public CloudListener.Builder endpoints​(List<CloudListenerEndpoint> endpoints)
        The list of protocol addresses the listener is configured to listen on.
        Parameters:
        endpoints - the value to set
        Returns:
        this builder
      • servicedAsms

        public CloudListener.Builder servicedAsms​(List<CloudServicedAsm> servicedAsms)
        The list of ASMs that are serviced by the listener.
        Parameters:
        servicedAsms - the value to set
        Returns:
        this builder
      • timeCreated

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

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

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