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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateApprovalRuleTemplateContentRequest.BuilderapprovalRuleTemplateName(String approvalRuleTemplateName)The name of the approval rule template where you want to update the content of the rule.UpdateApprovalRuleTemplateContentRequest.BuilderexistingRuleContentSha256(String existingRuleContentSha256)The SHA-256 hash signature for the content of the approval rule.UpdateApprovalRuleTemplateContentRequest.BuildernewRuleContent(String newRuleContent)The content that replaces the existing content of the rule.UpdateApprovalRuleTemplateContentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateApprovalRuleTemplateContentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
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
UpdateApprovalRuleTemplateContentRequest.Builder newRuleContent(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateApprovalRuleTemplateContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-