Interface BatchCheckLayerAvailabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCheckLayerAvailabilityResponse.Builder,,BatchCheckLayerAvailabilityResponse> EcrPublicResponse.Builder,SdkBuilder<BatchCheckLayerAvailabilityResponse.Builder,,BatchCheckLayerAvailabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchCheckLayerAvailabilityResponse
@Mutable
@NotThreadSafe
public static interface BatchCheckLayerAvailabilityResponse.Builder
extends EcrPublicResponse.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 that correspond to the image layer references in the request.layers(Consumer<Layer.Builder>... layers) A list of image layer objects that correspond to the image layer references in the request.A list of image layer objects that correspond to the image layer references in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
layers
A list of image layer objects that correspond to the image layer references in the request.
- Parameters:
layers- A list of image layer objects that correspond 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 that correspond to the image layer references in the request.
- Parameters:
layers- A list of image layer objects that correspond 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 that correspond 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 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.Builderavoiding the need to create one manually viaLayerFailure.builder().When the
Consumercompletes,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:
-