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