Class BatchCheckLayerAvailabilityResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.BatchCheckLayerAvailabilityResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BatchCheckLayerAvailabilityResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchCheckLayerAvailabilityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchCheckLayerAvailabilityResult
clone()
boolean
equals(Object obj)
List<LayerFailure>
getFailures()
Any failures associated with the call.List<Layer>
getLayers()
A list of image layer objects corresponding to the image layer references in the request.int
hashCode()
void
setFailures(Collection<LayerFailure> failures)
Any failures associated with the call.void
setLayers(Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references in the request.String
toString()
Returns a string representation of this object; useful for testing and debugging.BatchCheckLayerAvailabilityResult
withFailures(LayerFailure... failures)
Any failures associated with the call.BatchCheckLayerAvailabilityResult
withFailures(Collection<LayerFailure> failures)
Any failures associated with the call.BatchCheckLayerAvailabilityResult
withLayers(Layer... layers)
A list of image layer objects corresponding to the image layer references in the request.BatchCheckLayerAvailabilityResult
withLayers(Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references in the request.
-
-
-
Method Detail
-
getLayers
public List<Layer> getLayers()
A list of image layer objects corresponding to the image layer references in the request.
- Returns:
- A list of image layer objects corresponding to the image layer references in the request.
-
setLayers
public void setLayers(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.
-
withLayers
public BatchCheckLayerAvailabilityResult withLayers(Layer... layers)
A list of image layer objects corresponding to the image layer references in the request.
NOTE: This method appends the values to the existing list (if any). Use
setLayers(java.util.Collection)
orwithLayers(java.util.Collection)
if you want to override the existing values.- 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.
-
withLayers
public BatchCheckLayerAvailabilityResult withLayers(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.
-
getFailures
public List<LayerFailure> getFailures()
Any failures associated with the call.
- Returns:
- Any failures associated with the call.
-
setFailures
public void setFailures(Collection<LayerFailure> failures)
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.
-
withFailures
public BatchCheckLayerAvailabilityResult withFailures(LayerFailure... failures)
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
orwithFailures(java.util.Collection)
if you want to override the existing values.- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailures
public BatchCheckLayerAvailabilityResult withFailures(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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchCheckLayerAvailabilityResult clone()
-
-