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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBranchRequest.BuilderbranchName(String branchName)The name of the new branch to create.CreateBranchRequest.BuildercommitId(String commitId)The ID of the commit to point the new branch to.CreateBranchRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBranchRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBranchRequest.BuilderrepositoryName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
repositoryName
CreateBranchRequest.Builder repositoryName(String 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
CreateBranchRequest.Builder branchName(String 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
CreateBranchRequest.Builder commitId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-