Interface CreateSourceRepositoryBranchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCatalystRequest.Builder
,CopyableBuilder<CreateSourceRepositoryBranchRequest.Builder,
,CreateSourceRepositoryBranchRequest> SdkBuilder<CreateSourceRepositoryBranchRequest.Builder,
,CreateSourceRepositoryBranchRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSourceRepositoryBranchRequest
@Mutable
@NotThreadSafe
public static interface CreateSourceRepositoryBranchRequest.Builder
extends CodeCatalystRequest.Builder, SdkPojo, CopyableBuilder<CreateSourceRepositoryBranchRequest.Builder,CreateSourceRepositoryBranchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionheadCommitId
(String headCommitId) The commit ID in an existing branch from which you want to create the new branch.The name for the branch you're creating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectName
(String projectName) The name of the project in the space.sourceRepositoryName
(String sourceRepositoryName) The name of the repository where you want to create a branch.The name of the space.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest.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 Details
-
spaceName
The name of the space.
- Parameters:
spaceName
- The name of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
The name of the project in the space.
- Parameters:
projectName
- The name of the project in the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRepositoryName
The name of the repository where you want to create a branch.
- Parameters:
sourceRepositoryName
- The name of the repository where you want to create a branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name for the branch you're creating.
- Parameters:
name
- The name for the branch you're creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headCommitId
The commit ID in an existing branch from which you want to create the new branch.
- Parameters:
headCommitId
- The commit ID in an existing branch from which you want to create the new branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSourceRepositoryBranchRequest.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
CreateSourceRepositoryBranchRequest.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.
-