public static class GovernanceRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GovernanceRuleSummary |
build() |
GovernanceRuleSummary.Builder |
compartmentId(String compartmentId)
The Oracle ID
(OCID) of the
root compartment containing the governance rule.
|
GovernanceRuleSummary.Builder |
copy(GovernanceRuleSummary model) |
GovernanceRuleSummary.Builder |
creationOption(CreationOption creationOption)
The type of option used to create the governance rule, could be one of TEMPLATE or CLONE.
|
GovernanceRuleSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
GovernanceRuleSummary.Builder |
displayName(String displayName)
Display name of the governance rule.
|
GovernanceRuleSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
GovernanceRuleSummary.Builder |
id(String id)
The Oracle ID
(OCID) of the
governance rule.
|
GovernanceRuleSummary.Builder |
lifecycleState(GovernanceRuleLifecycleState lifecycleState)
The current state of the governance rule.
|
GovernanceRuleSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
GovernanceRuleSummary.Builder |
timeCreated(Date timeCreated)
Date and time the governance rule was created.
|
GovernanceRuleSummary.Builder |
timeUpdated(Date timeUpdated)
Date and time the governance rule was updated.
|
GovernanceRuleSummary.Builder |
type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
|
public GovernanceRuleSummary.Builder id(String id)
The Oracle ID (OCID) of the governance rule.
id
- the value to setpublic GovernanceRuleSummary.Builder compartmentId(String compartmentId)
The Oracle ID (OCID) of the root compartment containing the governance rule.
compartmentId
- the value to setpublic GovernanceRuleSummary.Builder displayName(String displayName)
Display name of the governance rule.
displayName
- the value to setpublic GovernanceRuleSummary.Builder type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
Example: QUOTA
type
- the value to setpublic GovernanceRuleSummary.Builder creationOption(CreationOption creationOption)
The type of option used to create the governance rule, could be one of TEMPLATE or CLONE.
Example: TEMPLATE
creationOption
- the value to setpublic GovernanceRuleSummary.Builder timeCreated(Date timeCreated)
Date and time the governance rule was created. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic GovernanceRuleSummary.Builder timeUpdated(Date timeUpdated)
Date and time the governance rule was updated. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic GovernanceRuleSummary.Builder lifecycleState(GovernanceRuleLifecycleState lifecycleState)
The current state of the governance rule.
lifecycleState
- the value to setpublic GovernanceRuleSummary.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 GovernanceRuleSummary.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 GovernanceRuleSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic GovernanceRuleSummary build()
public GovernanceRuleSummary.Builder copy(GovernanceRuleSummary model)
Copyright © 2016–2024. All rights reserved.