public static class CreateAccessPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateAccessPolicyDetails |
build() |
CreateAccessPolicyDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
CreateAccessPolicyDetails.Builder |
copy(CreateAccessPolicyDetails model) |
CreateAccessPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateAccessPolicyDetails.Builder |
description(String description)
Description of the resource.
|
CreateAccessPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateAccessPolicyDetails.Builder |
meshId(String meshId)
The OCID of the service mesh in which this access policy is created.
|
CreateAccessPolicyDetails.Builder |
name(String name)
A user-friendly name.
|
CreateAccessPolicyDetails.Builder |
rules(List<AccessPolicyRuleDetails> rules)
List of applicable rules
|
public CreateAccessPolicyDetails.Builder name(String name)
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information.
Example: My unique resource name
name
- the value to setpublic CreateAccessPolicyDetails.Builder description(String description)
Description of the resource. It can be changed after creation. Avoid entering confidential information.
Example: This is my new resource
description
- the value to setpublic CreateAccessPolicyDetails.Builder meshId(String meshId)
The OCID of the service mesh in which this access policy is created.
meshId
- the value to setpublic CreateAccessPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic CreateAccessPolicyDetails.Builder rules(List<AccessPolicyRuleDetails> rules)
List of applicable rules
rules
- the value to setpublic CreateAccessPolicyDetails.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 CreateAccessPolicyDetails.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 CreateAccessPolicyDetails build()
public CreateAccessPolicyDetails.Builder copy(CreateAccessPolicyDetails model)
Copyright © 2016–2024. All rights reserved.