Interface UpdateDefaultBranchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<UpdateDefaultBranchRequest.Builder,UpdateDefaultBranchRequest>,SdkBuilder<UpdateDefaultBranchRequest.Builder,UpdateDefaultBranchRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDefaultBranchRequest
public static interface UpdateDefaultBranchRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdateDefaultBranchRequest.Builder,UpdateDefaultBranchRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateDefaultBranchRequest.BuilderdefaultBranchName(String defaultBranchName)The name of the branch to set as the default branch.UpdateDefaultBranchRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDefaultBranchRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDefaultBranchRequest.BuilderrepositoryName(String repositoryName)The name of the repository for which you want to set or change the default 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 Detail
-
repositoryName
UpdateDefaultBranchRequest.Builder repositoryName(String repositoryName)
The name of the repository for which you want to set or change the default branch.
- Parameters:
repositoryName- The name of the repository for which you want to set or change the default branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultBranchName
UpdateDefaultBranchRequest.Builder defaultBranchName(String defaultBranchName)
The name of the branch to set as the default branch.
- Parameters:
defaultBranchName- The name of the branch to set as the default branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDefaultBranchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDefaultBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-