Interface UpdatePolicyTemplateRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdatePolicyTemplateRequest.Builder,,- UpdatePolicyTemplateRequest> - SdkBuilder<UpdatePolicyTemplateRequest.Builder,,- UpdatePolicyTemplateRequest> - SdkPojo,- SdkRequest.Builder,- VerifiedPermissionsRequest.Builder
- Enclosing class:
- UpdatePolicyTemplateRequest
- 
Method SummaryModifier and TypeMethodDescriptiondescription(String description) Specifies a new description to apply to the policy template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyStoreId(String policyStoreId) Specifies the ID of the policy store that contains the policy template that you want to update.policyTemplateId(String policyTemplateId) Specifies the ID of the policy template that you want to update.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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builderbuild
- 
Method Details- 
policyStoreIdSpecifies 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.
 
- 
policyTemplateIdSpecifies 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.
 
- 
descriptionSpecifies 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.
 
- 
statementSpecifies 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.
 
- 
 
- 
overrideConfigurationUpdatePolicyTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdatePolicyTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-