public static class UpdatePolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdatePolicyDetails |
build() |
UpdatePolicyDetails.Builder |
copy(UpdatePolicyDetails model) |
UpdatePolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdatePolicyDetails.Builder |
description(String description)
The description you assign to the policy.
|
UpdatePolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdatePolicyDetails.Builder |
statements(List<String> statements)
An array of policy statements written in the policy language.
|
UpdatePolicyDetails.Builder |
versionDate(Date versionDate)
The version of the policy.
|
public UpdatePolicyDetails.Builder description(String description)
The description you assign to the policy. Does not have to be unique, and it’s changeable.
description
- the value to setpublic UpdatePolicyDetails.Builder statements(List<String> statements)
An array of policy statements written in the policy language. See How Policies Work and Common Policies.
statements
- the value to setpublic UpdatePolicyDetails.Builder versionDate(Date versionDate)
The version of the policy. If null or set to an empty string, when a request comes in for authorization, the policy will be evaluated according to the current behavior of the services at that moment. If set to a particular date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date.
versionDate
- the value to setpublic UpdatePolicyDetails.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 UpdatePolicyDetails.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 UpdatePolicyDetails build()
public UpdatePolicyDetails.Builder copy(UpdatePolicyDetails model)
Copyright © 2016–2024. All rights reserved.