Interface UpdatePolicyTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>,SdkBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>,SdkPojo,SdkRequest.Builder,VerifiedPermissionsRequest.Builder
- Enclosing class:
- UpdatePolicyTemplateRequest
public static interface UpdatePolicyTemplateRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<UpdatePolicyTemplateRequest.Builder,UpdatePolicyTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePolicyTemplateRequest.Builderdescription(String description)Specifies a new description to apply to the policy template.UpdatePolicyTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePolicyTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePolicyTemplateRequest.BuilderpolicyStoreId(String policyStoreId)Specifies the ID of the policy store that contains the policy template that you want to update.UpdatePolicyTemplateRequest.BuilderpolicyTemplateId(String policyTemplateId)Specifies the ID of the policy template that you want to update.UpdatePolicyTemplateRequest.Builderstatement(String statement)Specifies new statement content written in Cedar policy language to replace the current body of the policy template.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builder
build
-
-
-
-
Method Detail
-
policyStoreId
UpdatePolicyTemplateRequest.Builder policyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy template that you want to update.
- Parameters:
policyStoreId- Specifies the ID of the policy store that contains the policy template that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTemplateId
UpdatePolicyTemplateRequest.Builder policyTemplateId(String policyTemplateId)
Specifies the ID of the policy template that you want to update.
- Parameters:
policyTemplateId- Specifies the ID of the policy template that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdatePolicyTemplateRequest.Builder description(String description)
Specifies a new description to apply to the policy template.
- Parameters:
description- Specifies a new description to apply to the policy template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statement
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
actionreferenced by the policy template. -
Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
-
The effect (
permitorforbid) of the policy template. -
The
principalreferenced by the policy template. -
The
resourcereferenced by the policy template.
- Parameters:
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
actionreferenced by the policy template. -
Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
-
The effect (
permitorforbid) of the policy template. -
The
principalreferenced by the policy template. -
The
resourcereferenced by the policy template.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdatePolicyTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePolicyTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-