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