Interface BatchCheckLayerAvailabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCheckLayerAvailabilityResponse.Builder,
,BatchCheckLayerAvailabilityResponse> EcrResponse.Builder
,SdkBuilder<BatchCheckLayerAvailabilityResponse.Builder,
,BatchCheckLayerAvailabilityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCheckLayerAvailabilityResponse
public static interface BatchCheckLayerAvailabilityResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<BatchCheckLayerAvailabilityResponse.Builder,BatchCheckLayerAvailabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures
(Collection<LayerFailure> failures) Any failures associated with the call.failures
(Consumer<LayerFailure.Builder>... failures) Any failures associated with the call.failures
(LayerFailure... failures) Any failures associated with the call.layers
(Collection<Layer> layers) A list of image layer objects corresponding to the image layer references in the request.layers
(Consumer<Layer.Builder>... layers) A list of image layer objects corresponding to the image layer references in the request.A list of image layer objects corresponding to the image layer 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
layers
A list of image layer objects corresponding to the image layer references in the request.
- Parameters:
layers
- A list of image layer objects corresponding to the image layer references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
A list of image layer objects corresponding to the image layer references in the request.
- Parameters:
layers
- A list of image layer objects corresponding to the image layer references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
A list of image layer objects corresponding to the image layer references in the request.
This is a convenience method that creates an instance of theLayer.Builder
avoiding the need to create one manually viaLayer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolayers(List<Layer>)
.- Parameters:
layers
- a consumer that will call methods onLayer.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 theLayerFailure.Builder
avoiding the need to create one manually viaLayerFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailures(List<LayerFailure>)
.- Parameters:
failures
- a consumer that will call methods onLayerFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-