Struct aws_sdk_ecr::input::batch_get_image_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchGetImageInput
.
Implementations§
source§impl 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 images to describe. 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 images to describe. 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 images to describe.
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 images to describe.
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 describe. 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 describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn accepted_media_types(self, input: impl Into<String>) -> Self
pub fn accepted_media_types(self, input: impl Into<String>) -> Self
Appends an item to accepted_media_types
.
To override the contents of this collection use set_accepted_media_types
.
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
pub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn build(self) -> Result<BatchGetImageInput, BuildError>
pub fn build(self) -> Result<BatchGetImageInput, BuildError>
Consumes the builder and constructs a BatchGetImageInput
.