Struct aws_sdk_codeartifact::model::repository_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RepositoryDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn administrator_account(self, input: impl Into<String>) -> Self
pub fn administrator_account(self, input: impl Into<String>) -> Self
The 12-digit account number of the Amazon Web Services account that manages the repository.
sourcepub fn set_administrator_account(self, input: Option<String>) -> Self
pub fn set_administrator_account(self, input: Option<String>) -> Self
The 12-digit account number of the Amazon Web Services account that manages the repository.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that contains the repository.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that contains the repository.
sourcepub fn domain_owner(self, input: impl Into<String>) -> Self
pub fn domain_owner(self, input: impl Into<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
sourcepub fn set_domain_owner(self, input: Option<String>) -> Self
pub fn set_domain_owner(self, input: Option<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the repository.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the repository.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A text description of the repository.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A text description of the repository.
sourcepub fn upstreams(self, input: UpstreamRepositoryInfo) -> Self
pub fn upstreams(self, input: UpstreamRepositoryInfo) -> Self
Appends an item to upstreams
.
To override the contents of this collection use set_upstreams
.
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
sourcepub fn set_upstreams(self, input: Option<Vec<UpstreamRepositoryInfo>>) -> Self
pub fn set_upstreams(self, input: Option<Vec<UpstreamRepositoryInfo>>) -> Self
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
sourcepub fn external_connections(
self,
input: RepositoryExternalConnectionInfo
) -> Self
pub fn external_connections(
self,
input: RepositoryExternalConnectionInfo
) -> Self
Appends an item to external_connections
.
To override the contents of this collection use set_external_connections
.
An array of external connections associated with the repository.
sourcepub fn set_external_connections(
self,
input: Option<Vec<RepositoryExternalConnectionInfo>>
) -> Self
pub fn set_external_connections(
self,
input: Option<Vec<RepositoryExternalConnectionInfo>>
) -> Self
An array of external connections associated with the repository.
sourcepub fn build(self) -> RepositoryDescription
pub fn build(self) -> RepositoryDescription
Consumes the builder and constructs a RepositoryDescription
.