pub struct Builder { /* private fields */ }
Expand description
A builder for PutPackageOriginConfigurationOutput
.
Implementations§
source§impl Builder
impl Builder
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
.