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