Struct aws_sdk_codeartifact::operation::put_package_origin_configuration::builders::PutPackageOriginConfigurationOutputBuilder
source · #[non_exhaustive]pub struct PutPackageOriginConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for PutPackageOriginConfigurationOutput
.
Implementations§
source§impl PutPackageOriginConfigurationOutputBuilder
impl PutPackageOriginConfigurationOutputBuilder
sourcepub fn origin_configuration(self, input: PackageOriginConfiguration) -> Self
pub fn origin_configuration(self, input: PackageOriginConfiguration) -> Self
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
sourcepub fn set_origin_configuration(
self,
input: Option<PackageOriginConfiguration>,
) -> Self
pub fn set_origin_configuration( self, input: Option<PackageOriginConfiguration>, ) -> Self
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
sourcepub fn get_origin_configuration(&self) -> &Option<PackageOriginConfiguration>
pub fn get_origin_configuration(&self) -> &Option<PackageOriginConfiguration>
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
sourcepub fn build(self) -> PutPackageOriginConfigurationOutput
pub fn build(self) -> PutPackageOriginConfigurationOutput
Consumes the builder and constructs a PutPackageOriginConfigurationOutput
.
Trait Implementations§
source§impl Clone for PutPackageOriginConfigurationOutputBuilder
impl Clone for PutPackageOriginConfigurationOutputBuilder
source§fn clone(&self) -> PutPackageOriginConfigurationOutputBuilder
fn clone(&self) -> PutPackageOriginConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutPackageOriginConfigurationOutputBuilder
impl Default for PutPackageOriginConfigurationOutputBuilder
source§fn default() -> PutPackageOriginConfigurationOutputBuilder
fn default() -> PutPackageOriginConfigurationOutputBuilder
source§impl PartialEq for PutPackageOriginConfigurationOutputBuilder
impl PartialEq for PutPackageOriginConfigurationOutputBuilder
source§fn eq(&self, other: &PutPackageOriginConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutPackageOriginConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutPackageOriginConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for PutPackageOriginConfigurationOutputBuilder
impl RefUnwindSafe for PutPackageOriginConfigurationOutputBuilder
impl Send for PutPackageOriginConfigurationOutputBuilder
impl Sync for PutPackageOriginConfigurationOutputBuilder
impl Unpin for PutPackageOriginConfigurationOutputBuilder
impl UnwindSafe for PutPackageOriginConfigurationOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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