Class DomainGovernance.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.DomainGovernance.Builder
-
- Enclosing class:
- DomainGovernance
public static class DomainGovernance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainGovernancebuild()DomainGovernance.Buildercopy(DomainGovernance model)DomainGovernance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DomainGovernance.BuilderdomainId(String domainId)The OCID of the domain associated with this domain governance entity.DomainGovernance.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DomainGovernance.Builderid(String id)The OCID of the domain governance entity.DomainGovernance.BuilderisGovernanceEnabled(Boolean isGovernanceEnabled)Indicates whether governance is enabled for this domain.DomainGovernance.BuilderlifecycleState(DomainGovernance.LifecycleState lifecycleState)Lifecycle state of the domain governance entity.DomainGovernance.BuilderonsSubscriptionId(String onsSubscriptionId)The ONS subscription associated with this domain governance entity.DomainGovernance.BuilderonsTopicId(String onsTopicId)The ONS topic associated with this domain governance entity.DomainGovernance.BuilderownerId(String ownerId)The OCID of the tenancy that owns this domain governance entity.DomainGovernance.BuildersubscriptionEmail(String subscriptionEmail)Email address to be used to notify the user, and that the ONS subscription will be created with.DomainGovernance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DomainGovernance.BuildertimeCreated(Date timeCreated)Date-time when this domain governance was created.DomainGovernance.BuildertimeUpdated(Date timeUpdated)Date-time when this domain governance was last updated.
-
-
-
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
-
lifecycleState
public DomainGovernance.Builder lifecycleState(DomainGovernance.LifecycleState lifecycleState)
Lifecycle state of the domain governance entity.- Parameters:
lifecycleState- 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
-
build
public DomainGovernance build()
-
copy
public DomainGovernance.Builder copy(DomainGovernance model)
-
-