Struct aws_sdk_codeartifact::input::CreateRepositoryInput
source · #[non_exhaustive]pub struct CreateRepositoryInput { /* private fields */ }
Implementations§
source§impl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRepository
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRepositoryInput
.
source§impl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain that contains the created repository.
sourcepub fn domain_owner(&self) -> Option<&str>
pub fn domain_owner(&self) -> Option<&str>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The name of the repository to create.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the created repository.
sourcepub fn upstreams(&self) -> Option<&[UpstreamRepository]>
pub fn upstreams(&self) -> Option<&[UpstreamRepository]>
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.
One or more tag key-value pairs for the repository.
Trait Implementations§
source§impl Clone for CreateRepositoryInput
impl Clone for CreateRepositoryInput
source§fn clone(&self) -> CreateRepositoryInput
fn clone(&self) -> CreateRepositoryInput
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 Debug for CreateRepositoryInput
impl Debug for CreateRepositoryInput
source§impl PartialEq<CreateRepositoryInput> for CreateRepositoryInput
impl PartialEq<CreateRepositoryInput> for CreateRepositoryInput
source§fn eq(&self, other: &CreateRepositoryInput) -> bool
fn eq(&self, other: &CreateRepositoryInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.