Struct aws_sdk_codecatalyst::operation::create_source_repository_branch::builders::CreateSourceRepositoryBranchFluentBuilder
source · pub struct CreateSourceRepositoryBranchFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSourceRepositoryBranch
.
Creates a branch in a specified source repository in Amazon CodeCatalyst.
This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.
Implementations§
source§impl CreateSourceRepositoryBranchFluentBuilder
impl CreateSourceRepositoryBranchFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSourceRepositoryBranch, AwsResponseRetryClassifier>, SdkError<CreateSourceRepositoryBranchError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateSourceRepositoryBranch, AwsResponseRetryClassifier>, SdkError<CreateSourceRepositoryBranchError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateSourceRepositoryBranchOutput, SdkError<CreateSourceRepositoryBranchError>>
pub async fn send( self ) -> Result<CreateSourceRepositoryBranchOutput, SdkError<CreateSourceRepositoryBranchError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn source_repository_name(self, input: impl Into<String>) -> Self
pub fn source_repository_name(self, input: impl Into<String>) -> Self
The name of the repository where you want to create a branch.
sourcepub fn set_source_repository_name(self, input: Option<String>) -> Self
pub fn set_source_repository_name(self, input: Option<String>) -> Self
The name of the repository where you want to create a branch.
sourcepub fn head_commit_id(self, input: impl Into<String>) -> Self
pub fn head_commit_id(self, input: impl Into<String>) -> Self
The commit ID in an existing branch from which you want to create the new branch.
sourcepub fn set_head_commit_id(self, input: Option<String>) -> Self
pub fn set_head_commit_id(self, input: Option<String>) -> Self
The commit ID in an existing branch from which you want to create the new branch.
Trait Implementations§
source§impl Clone for CreateSourceRepositoryBranchFluentBuilder
impl Clone for CreateSourceRepositoryBranchFluentBuilder
source§fn clone(&self) -> CreateSourceRepositoryBranchFluentBuilder
fn clone(&self) -> CreateSourceRepositoryBranchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more