Class CreateDomainGovernanceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.CreateDomainGovernanceDetails.Builder
-
- Enclosing class:
- CreateDomainGovernanceDetails
public static class CreateDomainGovernanceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDomainGovernanceDetailsbuild()CreateDomainGovernanceDetails.BuildercompartmentId(String compartmentId)OCID of the tenancy.CreateDomainGovernanceDetails.Buildercopy(CreateDomainGovernanceDetails model)CreateDomainGovernanceDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDomainGovernanceDetails.BuilderdomainId(String domainId)OCID of the domain.CreateDomainGovernanceDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateDomainGovernanceDetails.BuilderonsSubscriptionId(String onsSubscriptionId)The ONS subscription associated with this domain governance entity.CreateDomainGovernanceDetails.BuilderonsTopicId(String onsTopicId)The ONS topic associated with this domain governance entity.CreateDomainGovernanceDetails.BuildersubscriptionEmail(String subscriptionEmail)Email address to be used to notify the user, and that the ONS subscription will be created with.
-
-
-
Method Detail
-
compartmentId
public CreateDomainGovernanceDetails.Builder compartmentId(String compartmentId)
OCID of the tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
domainId
public CreateDomainGovernanceDetails.Builder domainId(String domainId)
OCID of the domain.- Parameters:
domainId- the value to set- Returns:
- this builder
-
subscriptionEmail
public CreateDomainGovernanceDetails.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 CreateDomainGovernanceDetails.Builder onsTopicId(String onsTopicId)
The ONS topic associated with this domain governance entity.- Parameters:
onsTopicId- the value to set- Returns:
- this builder
-
onsSubscriptionId
public CreateDomainGovernanceDetails.Builder onsSubscriptionId(String onsSubscriptionId)
The ONS subscription associated with this domain governance entity.- Parameters:
onsSubscriptionId- the value to set- Returns:
- this builder
-
freeformTags
public CreateDomainGovernanceDetails.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 CreateDomainGovernanceDetails.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
-
build
public CreateDomainGovernanceDetails build()
-
copy
public CreateDomainGovernanceDetails.Builder copy(CreateDomainGovernanceDetails model)
-
-