public static interface UpdatePolicyTemplateRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdatePolicyTemplateRequest.Builder |
description(String description)
Specifies a new description to apply to the policy template.
|
UpdatePolicyTemplateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdatePolicyTemplateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdatePolicyTemplateRequest.Builder |
policyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
|
UpdatePolicyTemplateRequest.Builder |
policyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
|
UpdatePolicyTemplateRequest.Builder |
statement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy
template.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdatePolicyTemplateRequest.Builder policyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
policyStoreId - Specifies the ID of the policy store that contains the policy template that you want to update.UpdatePolicyTemplateRequest.Builder policyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
policyTemplateId - Specifies the ID of the policy template that you want to update.UpdatePolicyTemplateRequest.Builder description(String description)
Specifies a new description to apply to the policy template.
description - Specifies a new description to apply to the policy template.UpdatePolicyTemplateRequest.Builder statement(String statement)
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
statement - Specifies new statement content written in Cedar policy language to replace the current body of the
policy template.
You can change only the following elements of the policy body:
The action referenced by the policy template.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
The effect (permit or forbid) of the policy template.
The principal referenced by the policy template.
The resource referenced by the policy template.
UpdatePolicyTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdatePolicyTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.