Class DomainSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.DomainSummary.Builder
-
- Enclosing class:
- DomainSummary
public static class DomainSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainSummary
build()
DomainSummary.Builder
copy(DomainSummary model)
DomainSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DomainSummary.Builder
domainName(String domainName)
The domain name.DomainSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DomainSummary.Builder
id(String id)
OCID of the domain.DomainSummary.Builder
lifecycleState(Domain.LifecycleState lifecycleState)
The lifecycle state of the domain.DomainSummary.Builder
ownerId(String ownerId)
The OCID of the tenancy that has started the registration process for this domain.DomainSummary.Builder
status(Domain.Status status)
Status of the domain.DomainSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DomainSummary.Builder
timeCreated(Date timeCreated)
Date-time when this domain was created.DomainSummary.Builder
timeUpdated(Date timeUpdated)
Date-time when this domain was last updated.DomainSummary.Builder
txtRecord(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 DomainSummary.Builder id(String id)
OCID of the domain.- Parameters:
id
- the value to set- Returns:
- this builder
-
domainName
public DomainSummary.Builder domainName(String domainName)
The domain name.- Parameters:
domainName
- the value to set- Returns:
- this builder
-
ownerId
public DomainSummary.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 DomainSummary.Builder lifecycleState(Domain.LifecycleState lifecycleState)
The lifecycle state of the domain.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
status
public DomainSummary.Builder status(Domain.Status status)
Status of the domain.- Parameters:
status
- the value to set- Returns:
- this builder
-
txtRecord
public DomainSummary.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 DomainSummary.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 DomainSummary.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 DomainSummary.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 DomainSummary.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 DomainSummary.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 DomainSummary build()
-
copy
public DomainSummary.Builder copy(DomainSummary model)
-
-