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 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
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 PutPackageOriginConfigurationOutputBuilder
impl Default for PutPackageOriginConfigurationOutputBuilder
source§fn default() -> PutPackageOriginConfigurationOutputBuilder
fn default() -> PutPackageOriginConfigurationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PutPackageOriginConfigurationOutputBuilder> for PutPackageOriginConfigurationOutputBuilder
impl PartialEq<PutPackageOriginConfigurationOutputBuilder> for PutPackageOriginConfigurationOutputBuilder
source§fn eq(&self, other: &PutPackageOriginConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutPackageOriginConfigurationOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutPackageOriginConfigurationOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more