Struct aws_sdk_ecr::input::batch_delete_image_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BatchDeleteImageInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository that contains the image to delete.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository that contains the image to delete.
sourcepub fn image_ids(self, input: ImageIdentifier) -> Self
pub fn image_ids(self, input: ImageIdentifier) -> Self
Appends an item to image_ids
.
To override the contents of this collection use set_image_ids
.
A list of image ID references that correspond to images to delete. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
pub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
A list of image ID references that correspond to images to delete. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn build(self) -> Result<BatchDeleteImageInput, BuildError>
pub fn build(self) -> Result<BatchDeleteImageInput, BuildError>
Consumes the builder and constructs a BatchDeleteImageInput
.