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