Class NamedCredential.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public NamedCredential.Builder name​(String name)
        Name for Named Credential.

        This is unique for the Management Agent.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • type

        public NamedCredential.Builder type​(String type)
        The type of the Named Credential.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • managementAgentId

        public NamedCredential.Builder managementAgentId​(String managementAgentId)
        The Management Agent parent resource to associated with this named credential.

        This is the ManagementAgent resource OCID.

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

        public NamedCredential.Builder description​(String description)
        Description of the Named Credential.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public NamedCredential.Builder timeCreated​(Date timeCreated)
        The time the Named Credential was created.

        An RFC3339 formatted datetime string

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

        public NamedCredential.Builder timeUpdated​(Date timeUpdated)
        The time the Named Credential data was last updated.

        An RFC3339 formatted datetime string

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

        public NamedCredential.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 NamedCredential.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 NamedCredential.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

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