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 ==
.impl StructuralPartialEq for CreateSourceRepositoryInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSourceRepositoryInputBuilder
impl RefUnwindSafe for CreateSourceRepositoryInputBuilder
impl Send for CreateSourceRepositoryInputBuilder
impl Sync for CreateSourceRepositoryInputBuilder
impl Unpin for CreateSourceRepositoryInputBuilder
impl UnwindSafe for CreateSourceRepositoryInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more