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 fn as_input(&self) -> &CreateSourceRepositoryBranchInputBuilder
pub fn as_input(&self) -> &CreateSourceRepositoryBranchInputBuilder
Access the CreateSourceRepositoryBranch as a reference.
sourcepub async fn send(
self
) -> Result<CreateSourceRepositoryBranchOutput, SdkError<CreateSourceRepositoryBranchError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSourceRepositoryBranchOutput, SdkError<CreateSourceRepositoryBranchError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateSourceRepositoryBranchOutput, CreateSourceRepositoryBranchError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSourceRepositoryBranchOutput, CreateSourceRepositoryBranchError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
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 get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
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 get_source_repository_name(&self) -> &Option<String>
pub fn get_source_repository_name(&self) -> &Option<String>
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.
sourcepub fn get_head_commit_id(&self) -> &Option<String>
pub fn get_head_commit_id(&self) -> &Option<String>
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