Class ServiceProvider.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public ServiceProvider.Builder id​(String id)
        Unique identifier for the Service Provider.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public ServiceProvider.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the Delegation Control.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • name

        public ServiceProvider.Builder name​(String name)
        Unique name of the Service Provider.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public ServiceProvider.Builder description​(String description)
        Description of the Service Provider.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • supportedResourceTypes

        public ServiceProvider.Builder supportedResourceTypes​(List<DelegationControlResourceType> supportedResourceTypes)
        Resource types for which this provider will provide service.

        Default to all if not specified.

        Parameters:
        supportedResourceTypes - the value to set
        Returns:
        this builder
      • lifecycleStateDetails

        public ServiceProvider.Builder lifecycleStateDetails​(String lifecycleStateDetails)
        Description of the current lifecycle state in more detail.
        Parameters:
        lifecycleStateDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public ServiceProvider.Builder timeCreated​(Date timeCreated)
        Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g.

        ‘2020-05-22T21:10:29.600Z’

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

        public ServiceProvider.Builder timeUpdated​(Date timeUpdated)
        Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g.

        ‘2020-05-22T21:10:29.600Z’

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

        public ServiceProvider.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 ServiceProvider.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 ServiceProvider.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace.

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

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