public static class CompliancePolicySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CompliancePolicySummary |
build() |
CompliancePolicySummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment the CompliancePolicy belongs to.
|
CompliancePolicySummary.Builder |
copy(CompliancePolicySummary model) |
CompliancePolicySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CompliancePolicySummary.Builder |
displayName(String displayName)
Display name for the CompliancePolicy.
|
CompliancePolicySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CompliancePolicySummary.Builder |
id(String id)
The OCID of the CompliancePolicy.
|
CompliancePolicySummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the CompliancePolicy in more detail.
|
CompliancePolicySummary.Builder |
lifecycleState(CompliancePolicy.LifecycleState lifecycleState)
The current state of the CompliancePolicy.
|
CompliancePolicySummary.Builder |
productId(String productId)
platformConfiguration OCID corresponding to the Product.
|
CompliancePolicySummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
CompliancePolicySummary.Builder |
timeCreated(Date timeCreated)
The date and time the CompliancePolicy was created, in the format defined by RFC
3339.
|
CompliancePolicySummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the CompliancePolicy was updated, in the format defined by RFC
3339.
|
public CompliancePolicySummary.Builder id(String id)
The OCID of the CompliancePolicy.
id
- the value to setpublic CompliancePolicySummary.Builder displayName(String displayName)
Display name for the CompliancePolicy.
displayName
- the value to setpublic CompliancePolicySummary.Builder productId(String productId)
platformConfiguration OCID corresponding to the Product.
productId
- the value to setpublic CompliancePolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment the CompliancePolicy belongs to.
compartmentId
- the value to setpublic CompliancePolicySummary.Builder timeCreated(Date timeCreated)
The date and time the CompliancePolicy was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic CompliancePolicySummary.Builder timeUpdated(Date timeUpdated)
The date and time the CompliancePolicy was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic CompliancePolicySummary.Builder lifecycleState(CompliancePolicy.LifecycleState lifecycleState)
The current state of the CompliancePolicy.
lifecycleState
- the value to setpublic CompliancePolicySummary.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the CompliancePolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
lifecycleDetails
- the value to setpublic CompliancePolicySummary.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 CompliancePolicySummary.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 CompliancePolicySummary.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 CompliancePolicySummary build()
public CompliancePolicySummary.Builder copy(CompliancePolicySummary model)
Copyright © 2016–2024. All rights reserved.