Struct aws_sdk_codeartifact::model::package_version_origin::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PackageVersionOrigin
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain_entry_point(self, input: DomainEntryPoint) -> Self
pub fn domain_entry_point(self, input: DomainEntryPoint) -> Self
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
sourcepub fn set_domain_entry_point(self, input: Option<DomainEntryPoint>) -> Self
pub fn set_domain_entry_point(self, input: Option<DomainEntryPoint>) -> Self
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
sourcepub fn origin_type(self, input: PackageVersionOriginType) -> Self
pub fn origin_type(self, input: PackageVersionOriginType) -> Self
Describes how the package version was originally added to the domain. An INTERNAL
origin type means the package version was published directly to a repository in the domain. An EXTERNAL
origin type means the package version was ingested from an external connection.
sourcepub fn set_origin_type(self, input: Option<PackageVersionOriginType>) -> Self
pub fn set_origin_type(self, input: Option<PackageVersionOriginType>) -> Self
Describes how the package version was originally added to the domain. An INTERNAL
origin type means the package version was published directly to a repository in the domain. An EXTERNAL
origin type means the package version was ingested from an external connection.
sourcepub fn build(self) -> PackageVersionOrigin
pub fn build(self) -> PackageVersionOrigin
Consumes the builder and constructs a PackageVersionOrigin
.