Interface MergePullRequestByFastForwardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<MergePullRequestByFastForwardRequest.Builder,,MergePullRequestByFastForwardRequest> SdkBuilder<MergePullRequestByFastForwardRequest.Builder,,MergePullRequestByFastForwardRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
MergePullRequestByFastForwardRequest
public static interface MergePullRequestByFastForwardRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<MergePullRequestByFastForwardRequest.Builder,MergePullRequestByFastForwardRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pullRequestId(String pullRequestId) The system-generated ID of the pull request.repositoryName(String repositoryName) The name of the repository where the pull request was created.sourceCommitId(String sourceCommitId) The full commit ID of the original or updated commit in the pull request source branch.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
-
pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Parameters:
pullRequestId- The system-generated ID of the pull request. To get this ID, use ListPullRequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the repository where the pull request was created.
- Parameters:
repositoryName- The name of the repository where the pull request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCommitId
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
- Parameters:
sourceCommitId- The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
MergePullRequestByFastForwardRequest.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
MergePullRequestByFastForwardRequest.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.
-