Class CreateDomainDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.CreateDomainDetails.Builder
-
- Enclosing class:
- CreateDomainDetails
public static class CreateDomainDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDomainDetails
build()
CreateDomainDetails.Builder
compartmentId(String compartmentId)
OCID of the tenancy.CreateDomainDetails.Builder
copy(CreateDomainDetails model)
CreateDomainDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateDomainDetails.Builder
domainName(String domainName)
The domain name.CreateDomainDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateDomainDetails.Builder
isGovernanceEnabled(Boolean isGovernanceEnabled)
Indicates whether governance should be enabled for this domain.CreateDomainDetails.Builder
subscriptionEmail(String subscriptionEmail)
Email address to be used to notify the user, and that the ONS subscription will be created with.
-
-
-
Method Detail
-
compartmentId
public CreateDomainDetails.Builder compartmentId(String compartmentId)
OCID of the tenancy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
domainName
public CreateDomainDetails.Builder domainName(String domainName)
The domain name.- Parameters:
domainName
- the value to set- Returns:
- this builder
-
subscriptionEmail
public CreateDomainDetails.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
-
isGovernanceEnabled
public CreateDomainDetails.Builder isGovernanceEnabled(Boolean isGovernanceEnabled)
Indicates whether governance should be enabled for this domain.Defaults to false.
- Parameters:
isGovernanceEnabled
- the value to set- Returns:
- this builder
-
freeformTags
public CreateDomainDetails.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 CreateDomainDetails.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 CreateDomainDetails build()
-
copy
public CreateDomainDetails.Builder copy(CreateDomainDetails model)
-
-