Class DomainGovernance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public DomainGovernance.Builder id​(String id)
        The OCID of the domain governance entity.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • ownerId

        public DomainGovernance.Builder ownerId​(String ownerId)
        The OCID of the tenancy that owns this domain governance entity.
        Parameters:
        ownerId - the value to set
        Returns:
        this builder
      • domainId

        public DomainGovernance.Builder domainId​(String domainId)
        The OCID of the domain associated with this domain governance entity.
        Parameters:
        domainId - the value to set
        Returns:
        this builder
      • isGovernanceEnabled

        public DomainGovernance.Builder isGovernanceEnabled​(Boolean isGovernanceEnabled)
        Indicates whether governance is enabled for this domain.
        Parameters:
        isGovernanceEnabled - the value to set
        Returns:
        this builder
      • subscriptionEmail

        public DomainGovernance.Builder subscriptionEmail​(String subscriptionEmail)
        Email address to be used to notify the user, and that the ONS subscription will be created with.
        Parameters:
        subscriptionEmail - the value to set
        Returns:
        this builder
      • onsTopicId

        public DomainGovernance.Builder onsTopicId​(String onsTopicId)
        The ONS topic associated with this domain governance entity.
        Parameters:
        onsTopicId - the value to set
        Returns:
        this builder
      • onsSubscriptionId

        public DomainGovernance.Builder onsSubscriptionId​(String onsSubscriptionId)
        The ONS subscription associated with this domain governance entity.
        Parameters:
        onsSubscriptionId - the value to set
        Returns:
        this builder
      • timeCreated

        public DomainGovernance.Builder timeCreated​(Date timeCreated)
        Date-time when this domain governance was created.

        An RFC 3339-formatted date and time string.

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

        public DomainGovernance.Builder timeUpdated​(Date timeUpdated)
        Date-time when this domain governance was last updated.

        An RFC 3339-formatted date and time string.

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

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