Struct aws_sdk_codecatalyst::operation::create_source_repository_branch::builders::CreateSourceRepositoryBranchInputBuilder
source · #[non_exhaustive]pub struct CreateSourceRepositoryBranchInputBuilder { /* private fields */ }
Expand description
A builder for CreateSourceRepositoryBranchInput
.
Implementations§
source§impl CreateSourceRepositoryBranchInputBuilder
impl CreateSourceRepositoryBranchInputBuilder
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.
sourcepub fn build(self) -> Result<CreateSourceRepositoryBranchInput, BuildError>
pub fn build(self) -> Result<CreateSourceRepositoryBranchInput, BuildError>
Consumes the builder and constructs a CreateSourceRepositoryBranchInput
.
Trait Implementations§
source§impl Clone for CreateSourceRepositoryBranchInputBuilder
impl Clone for CreateSourceRepositoryBranchInputBuilder
source§fn clone(&self) -> CreateSourceRepositoryBranchInputBuilder
fn clone(&self) -> CreateSourceRepositoryBranchInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateSourceRepositoryBranchInputBuilder
impl Default for CreateSourceRepositoryBranchInputBuilder
source§fn default() -> CreateSourceRepositoryBranchInputBuilder
fn default() -> CreateSourceRepositoryBranchInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateSourceRepositoryBranchInputBuilder> for CreateSourceRepositoryBranchInputBuilder
impl PartialEq<CreateSourceRepositoryBranchInputBuilder> for CreateSourceRepositoryBranchInputBuilder
source§fn eq(&self, other: &CreateSourceRepositoryBranchInputBuilder) -> bool
fn eq(&self, other: &CreateSourceRepositoryBranchInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.