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