Interface UpdateApprovalRuleTemplateContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<UpdateApprovalRuleTemplateContentRequest.Builder,
,UpdateApprovalRuleTemplateContentRequest> SdkBuilder<UpdateApprovalRuleTemplateContentRequest.Builder,
,UpdateApprovalRuleTemplateContentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApprovalRuleTemplateContentRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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, sdkFieldNameToField, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-