Interface CreateBranchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<CreateBranchRequest.Builder,
,CreateBranchRequest> SdkBuilder<CreateBranchRequest.Builder,
,CreateBranchRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBranchRequest
public static interface CreateBranchRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbranchName
(String branchName) The name of the new branch to create.The ID of the commit to point the new branch to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryName
(String repositoryName) The name of the repository in which you want to create the new branch.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, sdkFields
-
Method Details
-
repositoryName
The name of the repository in which you want to create the new branch.
- Parameters:
repositoryName
- The name of the repository in which you want to create the new branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The name of the new branch to create.
- Parameters:
branchName
- The name of the new branch to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitId
The ID of the commit to point the new branch to.
- Parameters:
commitId
- The ID of the commit to point the new branch to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBranchRequest.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
CreateBranchRequest.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.
-