public static class CreateGovernanceRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateGovernanceRuleDetails |
build() |
CreateGovernanceRuleDetails.Builder |
compartmentId(String compartmentId)
The Oracle ID
(OCID) of the
root compartment containing the governance rule.
|
CreateGovernanceRuleDetails.Builder |
copy(CreateGovernanceRuleDetails model) |
CreateGovernanceRuleDetails.Builder |
creationOption(CreationOption creationOption)
The type of option used to create the governance rule, could be one of TEMPLATE or CLONE.
|
CreateGovernanceRuleDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateGovernanceRuleDetails.Builder |
description(String description)
Description of the governance rule.
|
CreateGovernanceRuleDetails.Builder |
displayName(String displayName)
Display name of the governance rule.
|
CreateGovernanceRuleDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateGovernanceRuleDetails.Builder |
relatedResourceId(String relatedResourceId)
The Oracle ID
(OCID) of the
resource, which was used as a template to create this governance rule.
|
CreateGovernanceRuleDetails.Builder |
template(Template template) |
CreateGovernanceRuleDetails.Builder |
type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
|
public CreateGovernanceRuleDetails.Builder compartmentId(String compartmentId)
The Oracle ID (OCID) of the root compartment containing the governance rule.
compartmentId
- the value to setpublic CreateGovernanceRuleDetails.Builder displayName(String displayName)
Display name of the governance rule.
displayName
- the value to setpublic CreateGovernanceRuleDetails.Builder description(String description)
Description of the governance rule.
description
- the value to setpublic CreateGovernanceRuleDetails.Builder type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
Example: QUOTA
type
- the value to setpublic CreateGovernanceRuleDetails.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 CreateGovernanceRuleDetails.Builder template(Template template)
public CreateGovernanceRuleDetails.Builder relatedResourceId(String relatedResourceId)
The Oracle ID (OCID) of the resource, which was used as a template to create this governance rule.
relatedResourceId
- the value to setpublic CreateGovernanceRuleDetails.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 CreateGovernanceRuleDetails.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 CreateGovernanceRuleDetails build()
public CreateGovernanceRuleDetails.Builder copy(CreateGovernanceRuleDetails model)
Copyright © 2016–2024. All rights reserved.