public static class InclusionCriterion.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InclusionCriterion.Builder |
association(Association association) |
InclusionCriterion |
build() |
InclusionCriterion.Builder |
copy(InclusionCriterion model) |
InclusionCriterion.Builder |
governanceRuleId(String governanceRuleId)
The Oracle ID
(OCID) of the
governance rule.
|
InclusionCriterion.Builder |
id(String id)
The Oracle ID
(OCID) of the
inclusion criterion.
|
InclusionCriterion.Builder |
lifecycleState(InclusionCriterion.LifecycleState lifecycleState)
The current state of the inclusion criterion.
|
InclusionCriterion.Builder |
timeCreated(Date timeCreated)
Date and time the inclusion criterion was created.
|
InclusionCriterion.Builder |
timeUpdated(Date timeUpdated)
Date and time the inclusion criterion was updated.
|
InclusionCriterion.Builder |
type(InclusionCriterion.Type type)
Type of inclusion criterion - TENANCY, ALL or TAG.
|
public InclusionCriterion.Builder id(String id)
The Oracle ID (OCID) of the inclusion criterion.
id
- the value to setpublic InclusionCriterion.Builder governanceRuleId(String governanceRuleId)
The Oracle ID (OCID) of the governance rule. Every inclusion criterion is associated with a governance rule.
governanceRuleId
- the value to setpublic InclusionCriterion.Builder type(InclusionCriterion.Type type)
Type of inclusion criterion - TENANCY, ALL or TAG. We support TENANCY and ALL for now.
type
- the value to setpublic InclusionCriterion.Builder association(Association association)
public InclusionCriterion.Builder lifecycleState(InclusionCriterion.LifecycleState lifecycleState)
The current state of the inclusion criterion.
lifecycleState
- the value to setpublic InclusionCriterion.Builder timeCreated(Date timeCreated)
Date and time the inclusion criterion was created. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic InclusionCriterion.Builder timeUpdated(Date timeUpdated)
Date and time the inclusion criterion was updated. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic InclusionCriterion build()
public InclusionCriterion.Builder copy(InclusionCriterion model)
Copyright © 2016–2024. All rights reserved.