Class Domain.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.Domain.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Domainbuild()Domain.Buildercopy(Domain model)Domain.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Domain.BuilderdomainName(String domainName)The domain name.Domain.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Domain.Builderid(String id)The OCID of the domain.Domain.BuilderlifecycleState(Domain.LifecycleState lifecycleState)Lifecycle state of the domain.Domain.BuilderownerId(String ownerId)The OCID of the tenancy that has started the registration process for this domain.Domain.Builderstatus(Domain.Status status)Status of the domain.Domain.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Domain.BuildertimeCreated(Date timeCreated)Date-time when this domain was created.Domain.BuildertimeUpdated(Date timeUpdated)Date-time when this domain was last updated.Domain.BuildertxtRecord(String txtRecord)The code that the owner of the domain will need to add as a TXT record to their domain.
-
-
-
Method Detail
-
id
public Domain.Builder id(String id)
The OCID of the domain.- Parameters:
id- the value to set- Returns:
- this builder
-
domainName
public Domain.Builder domainName(String domainName)
The domain name.- Parameters:
domainName- the value to set- Returns:
- this builder
-
ownerId
public Domain.Builder ownerId(String ownerId)
The OCID of the tenancy that has started the registration process for this domain.- Parameters:
ownerId- the value to set- Returns:
- this builder
-
lifecycleState
public Domain.Builder lifecycleState(Domain.LifecycleState lifecycleState)
Lifecycle state of the domain.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
status
public Domain.Builder status(Domain.Status status)
Status of the domain.- Parameters:
status- the value to set- Returns:
- this builder
-
txtRecord
public Domain.Builder txtRecord(String txtRecord)
The code that the owner of the domain will need to add as a TXT record to their domain.- Parameters:
txtRecord- the value to set- Returns:
- this builder
-
timeCreated
public Domain.Builder timeCreated(Date timeCreated)
Date-time when this domain was created.An RFC 3339-formatted date and time string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public Domain.Builder timeUpdated(Date timeUpdated)
Date-time when this domain was last updated.An RFC 3339-formatted date and time string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public Domain.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 Domain.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 Domain.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 Domain build()
-
copy
public Domain.Builder copy(Domain model)
-
-