#[non_exhaustive]pub struct CreateRepositoryInputBuilder { /* private fields */ }
Expand description
A builder for CreateRepositoryInput
.
Implementations§
source§impl CreateRepositoryInputBuilder
impl CreateRepositoryInputBuilder
sourcepub fn provider(self, input: RepositoryProvider) -> Self
pub fn provider(self, input: RepositoryProvider) -> Self
The repository provider.
This field is required.sourcepub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn get_provider(&self) -> &Option<RepositoryProvider>
pub fn get_provider(&self) -> &Option<RepositoryProvider>
The repository provider.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The repository name (for example, myrepos/myrepo
).
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The repository name (for example, myrepos/myrepo
).
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
This field is required.sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
sourcepub fn encryption_key(self, input: impl Into<String>) -> Self
pub fn encryption_key(self, input: impl Into<String>) -> Self
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
sourcepub fn set_encryption_key(self, input: Option<String>) -> Self
pub fn set_encryption_key(self, input: Option<String>) -> Self
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
sourcepub fn get_encryption_key(&self) -> &Option<String>
pub fn get_encryption_key(&self) -> &Option<String>
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn build(self) -> Result<CreateRepositoryInput, BuildError>
pub fn build(self) -> Result<CreateRepositoryInput, BuildError>
Consumes the builder and constructs a CreateRepositoryInput
.
source§impl CreateRepositoryInputBuilder
impl CreateRepositoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRepositoryInputBuilder
impl Clone for CreateRepositoryInputBuilder
source§fn clone(&self) -> CreateRepositoryInputBuilder
fn clone(&self) -> CreateRepositoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRepositoryInputBuilder
impl Debug for CreateRepositoryInputBuilder
source§impl Default for CreateRepositoryInputBuilder
impl Default for CreateRepositoryInputBuilder
source§fn default() -> CreateRepositoryInputBuilder
fn default() -> CreateRepositoryInputBuilder
source§impl PartialEq for CreateRepositoryInputBuilder
impl PartialEq for CreateRepositoryInputBuilder
source§fn eq(&self, other: &CreateRepositoryInputBuilder) -> bool
fn eq(&self, other: &CreateRepositoryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.