Struct aws_sdk_proton::model::repository::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Repository
.
Implementations§
source§impl Builder
impl Builder
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 linked 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 linked repository.
sourcepub fn provider(self, input: RepositoryProvider) -> Self
pub fn provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
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.
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.
sourcepub fn encryption_key(self, input: impl Into<String>) -> Self
pub fn encryption_key(self, input: impl Into<String>) -> Self
Your customer Amazon Web Services KMS encryption key.
sourcepub fn set_encryption_key(self, input: Option<String>) -> Self
pub fn set_encryption_key(self, input: Option<String>) -> Self
Your customer Amazon Web Services KMS encryption key.
sourcepub fn build(self) -> Repository
pub fn build(self) -> Repository
Consumes the builder and constructs a Repository
.