public static class EnforcedGovernanceRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnforcedGovernanceRule |
build() |
EnforcedGovernanceRule.Builder |
compartmentId(String compartmentId)
The Oracle ID
(OCID) of the
child’s root compartment to which the governance rule is attached.
|
EnforcedGovernanceRule.Builder |
copy(EnforcedGovernanceRule model) |
EnforcedGovernanceRule.Builder |
governanceRuleDisplayName(String governanceRuleDisplayName)
Display name of the governance rule.
|
EnforcedGovernanceRule.Builder |
id(String id)
The Oracle ID
(OCID) of the
enforced governance rule.
|
EnforcedGovernanceRule.Builder |
lifecycleState(GovernanceRuleLifecycleState lifecycleState)
The current state of the governance rule.
|
EnforcedGovernanceRule.Builder |
template(Template template) |
EnforcedGovernanceRule.Builder |
timeCreated(Date timeCreated)
Date and time the governance rule was created.
|
EnforcedGovernanceRule.Builder |
timeUpdated(Date timeUpdated)
Date and time the governance rule was updated.
|
EnforcedGovernanceRule.Builder |
type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
|
public EnforcedGovernanceRule.Builder id(String id)
The Oracle ID (OCID) of the enforced governance rule.
id
- the value to setpublic EnforcedGovernanceRule.Builder compartmentId(String compartmentId)
The Oracle ID (OCID) of the child’s root compartment to which the governance rule is attached.
compartmentId
- the value to setpublic EnforcedGovernanceRule.Builder governanceRuleDisplayName(String governanceRuleDisplayName)
Display name of the governance rule.
governanceRuleDisplayName
- the value to setpublic EnforcedGovernanceRule.Builder type(GovernanceRuleType type)
Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
Example: QUOTA
type
- the value to setpublic EnforcedGovernanceRule.Builder template(Template template)
public EnforcedGovernanceRule.Builder lifecycleState(GovernanceRuleLifecycleState lifecycleState)
The current state of the governance rule.
lifecycleState
- the value to setpublic EnforcedGovernanceRule.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 EnforcedGovernanceRule.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 EnforcedGovernanceRule build()
public EnforcedGovernanceRule.Builder copy(EnforcedGovernanceRule model)
Copyright © 2016–2024. All rights reserved.