Struct aws_sdk_codeartifact::operation::update_repository::builders::UpdateRepositoryOutputBuilder
source · #[non_exhaustive]pub struct UpdateRepositoryOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateRepositoryOutput
.
Implementations§
source§impl UpdateRepositoryOutputBuilder
impl UpdateRepositoryOutputBuilder
sourcepub fn repository(self, input: RepositoryDescription) -> Self
pub fn repository(self, input: RepositoryDescription) -> Self
The updated repository.
sourcepub fn set_repository(self, input: Option<RepositoryDescription>) -> Self
pub fn set_repository(self, input: Option<RepositoryDescription>) -> Self
The updated repository.
sourcepub fn get_repository(&self) -> &Option<RepositoryDescription>
pub fn get_repository(&self) -> &Option<RepositoryDescription>
The updated repository.
sourcepub fn build(self) -> UpdateRepositoryOutput
pub fn build(self) -> UpdateRepositoryOutput
Consumes the builder and constructs a UpdateRepositoryOutput
.
Trait Implementations§
source§impl Clone for UpdateRepositoryOutputBuilder
impl Clone for UpdateRepositoryOutputBuilder
source§fn clone(&self) -> UpdateRepositoryOutputBuilder
fn clone(&self) -> UpdateRepositoryOutputBuilder
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 UpdateRepositoryOutputBuilder
impl Default for UpdateRepositoryOutputBuilder
source§fn default() -> UpdateRepositoryOutputBuilder
fn default() -> UpdateRepositoryOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRepositoryOutputBuilder
impl PartialEq for UpdateRepositoryOutputBuilder
source§fn eq(&self, other: &UpdateRepositoryOutputBuilder) -> bool
fn eq(&self, other: &UpdateRepositoryOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRepositoryOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRepositoryOutputBuilder
impl RefUnwindSafe for UpdateRepositoryOutputBuilder
impl Send for UpdateRepositoryOutputBuilder
impl Sync for UpdateRepositoryOutputBuilder
impl Unpin for UpdateRepositoryOutputBuilder
impl UnwindSafe for UpdateRepositoryOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.