Interface UpdateApprovalRuleTemplateContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<UpdateApprovalRuleTemplateContentRequest.Builder,,UpdateApprovalRuleTemplateContentRequest> SdkBuilder<UpdateApprovalRuleTemplateContentRequest.Builder,,UpdateApprovalRuleTemplateContentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateApprovalRuleTemplateContentRequest
public static interface UpdateApprovalRuleTemplateContentRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdateApprovalRuleTemplateContentRequest.Builder,UpdateApprovalRuleTemplateContentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapprovalRuleTemplateName(String approvalRuleTemplateName) The name of the approval rule template where you want to update the content of the rule.existingRuleContentSha256(String existingRuleContentSha256) The SHA-256 hash signature for the content of the approval rule.newRuleContent(String newRuleContent) The content that replaces the existing content of the rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
approvalRuleTemplateName
UpdateApprovalRuleTemplateContentRequest.Builder approvalRuleTemplateName(String approvalRuleTemplateName) The name of the approval rule template where you want to update the content of the rule.
- Parameters:
approvalRuleTemplateName- The name of the approval rule template where you want to update the content of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newRuleContent
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
- Parameters:
newRuleContent- The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingRuleContentSha256
UpdateApprovalRuleTemplateContentRequest.Builder existingRuleContentSha256(String existingRuleContentSha256) The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
- Parameters:
existingRuleContentSha256- The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateApprovalRuleTemplateContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateApprovalRuleTemplateContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-