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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCheckLayerAvailabilityResponse.Builderfailures(Collection<LayerFailure> failures)Any failures associated with the call.BatchCheckLayerAvailabilityResponse.Builderfailures(Consumer<LayerFailure.Builder>... failures)Any failures associated with the call.BatchCheckLayerAvailabilityResponse.Builderfailures(LayerFailure... failures)Any failures associated with the call.BatchCheckLayerAvailabilityResponse.Builderlayers(Collection<Layer> layers)A list of image layer objects corresponding to the image layer references in the request.BatchCheckLayerAvailabilityResponse.Builderlayers(Consumer<Layer.Builder>... layers)A list of image layer objects corresponding to the image layer references in the request.BatchCheckLayerAvailabilityResponse.Builderlayers(Layer... layers)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
layers
BatchCheckLayerAvailabilityResponse.Builder layers(Collection<Layer> 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
BatchCheckLayerAvailabilityResponse.Builder layers(Layer... 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
BatchCheckLayerAvailabilityResponse.Builder layers(Consumer<Layer.Builder>... 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.Builderavoiding the need to create one manually viaLayer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#layers(List.) - 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:
#layers(java.util.Collection)
-
failures
BatchCheckLayerAvailabilityResponse.Builder failures(Collection<LayerFailure> 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
BatchCheckLayerAvailabilityResponse.Builder failures(LayerFailure... 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
BatchCheckLayerAvailabilityResponse.Builder failures(Consumer<LayerFailure.Builder>... failures)
Any failures associated with the call.
This is a convenience method that creates an instance of theLayerFailure.Builderavoiding the need to create one manually viaLayerFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failures(List.) - 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:
#failures(java.util.Collection)
-
-