pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEcrRepositoryDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn image_scanning_configuration(
self,
input: AwsEcrRepositoryImageScanningConfigurationDetails
) -> Self
pub fn image_scanning_configuration(
self,
input: AwsEcrRepositoryImageScanningConfigurationDetails
) -> Self
The image scanning configuration for a repository.
sourcepub fn set_image_scanning_configuration(
self,
input: Option<AwsEcrRepositoryImageScanningConfigurationDetails>
) -> Self
pub fn set_image_scanning_configuration(
self,
input: Option<AwsEcrRepositoryImageScanningConfigurationDetails>
) -> Self
The image scanning configuration for a repository.
sourcepub fn image_tag_mutability(self, input: impl Into<String>) -> Self
pub fn image_tag_mutability(self, input: impl Into<String>) -> Self
The tag mutability setting for the repository. Valid values are IMMUTABLE
or MUTABLE
.
sourcepub fn set_image_tag_mutability(self, input: Option<String>) -> Self
pub fn set_image_tag_mutability(self, input: Option<String>) -> Self
The tag mutability setting for the repository. Valid values are IMMUTABLE
or MUTABLE
.
sourcepub fn lifecycle_policy(
self,
input: AwsEcrRepositoryLifecyclePolicyDetails
) -> Self
pub fn lifecycle_policy(
self,
input: AwsEcrRepositoryLifecyclePolicyDetails
) -> Self
Information about the lifecycle policy for the repository.
sourcepub fn set_lifecycle_policy(
self,
input: Option<AwsEcrRepositoryLifecyclePolicyDetails>
) -> Self
pub fn set_lifecycle_policy(
self,
input: Option<AwsEcrRepositoryLifecyclePolicyDetails>
) -> Self
Information about the lifecycle policy for the repository.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository.
sourcepub fn repository_policy_text(self, input: impl Into<String>) -> Self
pub fn repository_policy_text(self, input: impl Into<String>) -> Self
The text of the repository policy.
sourcepub fn set_repository_policy_text(self, input: Option<String>) -> Self
pub fn set_repository_policy_text(self, input: Option<String>) -> Self
The text of the repository policy.
sourcepub fn build(self) -> AwsEcrRepositoryDetails
pub fn build(self) -> AwsEcrRepositoryDetails
Consumes the builder and constructs a AwsEcrRepositoryDetails
.