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 ==
.