public static class CreateAuditPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateAuditPolicyDetails |
build() |
CreateAuditPolicyDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the audit policy.
|
CreateAuditPolicyDetails.Builder |
copy(CreateAuditPolicyDetails model) |
CreateAuditPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateAuditPolicyDetails.Builder |
description(String description)
The description of the audit policy.
|
CreateAuditPolicyDetails.Builder |
displayName(String displayName)
The display name of the audit policy.
|
CreateAuditPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateAuditPolicyDetails.Builder |
targetId(String targetId)
The OCID of the target for which the audit policy has to be created.
|
public CreateAuditPolicyDetails.Builder displayName(String displayName)
The display name of the audit policy. The name does not have to be unique, and it is changeable.
displayName
- the value to setpublic CreateAuditPolicyDetails.Builder description(String description)
The description of the audit policy.
description
- the value to setpublic CreateAuditPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the audit policy.
compartmentId
- the value to setpublic CreateAuditPolicyDetails.Builder targetId(String targetId)
The OCID of the target for which the audit policy has to be created.
targetId
- the value to setpublic CreateAuditPolicyDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic CreateAuditPolicyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateAuditPolicyDetails build()
public CreateAuditPolicyDetails.Builder copy(CreateAuditPolicyDetails model)
Copyright © 2016–2024. All rights reserved.