Class ServiceConnector.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ServiceConnector.Builder displayName​(String displayName)
        A user-friendly name.

        It does not have to be unique, and it is changeable. Avoid entering confidential information.

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

        public ServiceConnector.Builder description​(String description)
        The description of the resource.

        Avoid entering confidential information.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public ServiceConnector.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the connector.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public ServiceConnector.Builder timeCreated​(Date timeCreated)
        The date and time when the connector was created.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ServiceConnector.Builder timeUpdated​(Date timeUpdated)
        The date and time when the connector was updated.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public ServiceConnector.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the connector.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ServiceConnector.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, the message might provide actionable information for a resource in a FAILED state.

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

        public ServiceConnector.Builder lifecyleDetails​(String lifecyleDetails)
        *Please note this property is deprecated and will be removed on January 27, 2026.

        Use lifecycleDetails instead.* A message describing the current state in more detail. For example, the message might provide actionable information for a resource in a FAILED state.

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

        public ServiceConnector.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. Example: {“bar-key”: “value”}

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

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

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

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

        public ServiceConnector.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        The system tags associated with this resource, if any.

        The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

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