Interface BatchGetImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetImageResponse.Builder,
,BatchGetImageResponse> EcrResponse.Builder
,SdkBuilder<BatchGetImageResponse.Builder,
,BatchGetImageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetImageResponse
@Mutable
@NotThreadSafe
public static interface BatchGetImageResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<BatchGetImageResponse.Builder,BatchGetImageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures
(Collection<ImageFailure> failures) Any failures associated with the call.failures
(Consumer<ImageFailure.Builder>... failures) Any failures associated with the call.failures
(ImageFailure... failures) Any failures associated with the call.images
(Collection<Image> images) A list of image objects corresponding to the image references in the request.images
(Consumer<Image.Builder>... images) A list of image objects corresponding to the image references in the request.A list of image objects corresponding to the image references in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
images
A list of image objects corresponding to the image references in the request.
- Parameters:
images
- A list of image objects corresponding to the image references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
images
A list of image objects corresponding to the image references in the request.
- Parameters:
images
- A list of image objects corresponding to the image references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
images
A list of image objects corresponding to the image references in the request.
This is a convenience method that creates an instance of theImage.Builder
avoiding the need to create one manually viaImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimages(List<Image>)
.- Parameters:
images
- a consumer that will call methods onImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
This is a convenience method that creates an instance of theImageFailure.Builder
avoiding the need to create one manually viaImageFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailures(List<ImageFailure>)
.- Parameters:
failures
- a consumer that will call methods onImageFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-