Struct aws_sdk_codecatalyst::operation::create_source_repository::builders::CreateSourceRepositoryInputBuilder
source · #[non_exhaustive]pub struct CreateSourceRepositoryInputBuilder { /* private fields */ }
Expand description
A builder for CreateSourceRepositoryInput
.
Implementations§
source§impl CreateSourceRepositoryInputBuilder
impl CreateSourceRepositoryInputBuilder
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.
This field is required.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.
This field is required.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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the source repository. For more information about name requirements, see Quotas for source repositories.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the source repository. For more information about name requirements, see Quotas for source repositories.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the source repository. For more information about name requirements, see Quotas for source repositories.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the source repository.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the source repository.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the source repository.
sourcepub fn build(self) -> Result<CreateSourceRepositoryInput, BuildError>
pub fn build(self) -> Result<CreateSourceRepositoryInput, BuildError>
Consumes the builder and constructs a CreateSourceRepositoryInput
.
source§impl CreateSourceRepositoryInputBuilder
impl CreateSourceRepositoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSourceRepositoryOutput, SdkError<CreateSourceRepositoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSourceRepositoryOutput, SdkError<CreateSourceRepositoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSourceRepositoryInputBuilder
impl Clone for CreateSourceRepositoryInputBuilder
source§fn clone(&self) -> CreateSourceRepositoryInputBuilder
fn clone(&self) -> CreateSourceRepositoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSourceRepositoryInputBuilder
impl Default for CreateSourceRepositoryInputBuilder
source§fn default() -> CreateSourceRepositoryInputBuilder
fn default() -> CreateSourceRepositoryInputBuilder
source§impl PartialEq for CreateSourceRepositoryInputBuilder
impl PartialEq for CreateSourceRepositoryInputBuilder
source§fn eq(&self, other: &CreateSourceRepositoryInputBuilder) -> bool
fn eq(&self, other: &CreateSourceRepositoryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.