public static class DomainGovernance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DomainGovernance |
build() |
DomainGovernance.Builder |
copy(DomainGovernance model) |
DomainGovernance.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DomainGovernance.Builder |
domainId(String domainId)
The OCID of the domain associated with this domain governance entity.
|
DomainGovernance.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DomainGovernance.Builder |
id(String id)
The OCID of the domain governance entity.
|
DomainGovernance.Builder |
isGovernanceEnabled(Boolean isGovernanceEnabled)
Indicates whether governance is enabled for this domain.
|
DomainGovernance.Builder |
lifecycleState(DomainGovernance.LifecycleState lifecycleState)
Lifecycle state of the domain governance entity.
|
DomainGovernance.Builder |
onsSubscriptionId(String onsSubscriptionId)
The ONS subscription associated with this domain governance entity.
|
DomainGovernance.Builder |
onsTopicId(String onsTopicId)
The ONS topic associated with this domain governance entity.
|
DomainGovernance.Builder |
ownerId(String ownerId)
The OCID of the tenancy that owns this domain governance entity.
|
DomainGovernance.Builder |
subscriptionEmail(String subscriptionEmail)
Email address to be used to notify the user, and that the ONS subscription will be
created with.
|
DomainGovernance.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DomainGovernance.Builder |
timeCreated(Date timeCreated)
Date-time when this domain governance was created.
|
DomainGovernance.Builder |
timeUpdated(Date timeUpdated)
Date-time when this domain governance was last updated.
|
public DomainGovernance.Builder id(String id)
The OCID of the domain governance entity.
id
- the value to setpublic DomainGovernance.Builder ownerId(String ownerId)
The OCID of the tenancy that owns this domain governance entity.
ownerId
- the value to setpublic DomainGovernance.Builder domainId(String domainId)
The OCID of the domain associated with this domain governance entity.
domainId
- the value to setpublic DomainGovernance.Builder lifecycleState(DomainGovernance.LifecycleState lifecycleState)
Lifecycle state of the domain governance entity.
lifecycleState
- the value to setpublic DomainGovernance.Builder isGovernanceEnabled(Boolean isGovernanceEnabled)
Indicates whether governance is enabled for this domain.
isGovernanceEnabled
- the value to setpublic DomainGovernance.Builder subscriptionEmail(String subscriptionEmail)
Email address to be used to notify the user, and that the ONS subscription will be created with.
subscriptionEmail
- the value to setpublic DomainGovernance.Builder onsTopicId(String onsTopicId)
The ONS topic associated with this domain governance entity.
onsTopicId
- the value to setpublic DomainGovernance.Builder onsSubscriptionId(String onsSubscriptionId)
The ONS subscription associated with this domain governance entity.
onsSubscriptionId
- the value to setpublic DomainGovernance.Builder timeCreated(Date timeCreated)
Date-time when this domain governance was created. An RFC 3339-formatted date and time string.
timeCreated
- the value to setpublic DomainGovernance.Builder timeUpdated(Date timeUpdated)
Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string.
timeUpdated
- the value to setpublic DomainGovernance.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"}
freeformTags
- the value to setpublic DomainGovernance.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"}}
definedTags
- the value to setpublic DomainGovernance.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"}}
systemTags
- the value to setpublic DomainGovernance build()
public DomainGovernance.Builder copy(DomainGovernance model)
Copyright © 2016–2024. All rights reserved.