public class BatchCheckLayerAvailabilityResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<LayerFailure> |
failures
Any failures associated with the call.
|
private java.util.List<Layer> |
layers
A list of image layer objects corresponding to the image layer references
in the request.
|
Constructor and Description |
---|
BatchCheckLayerAvailabilityResult() |
Modifier and Type | Method and Description |
---|---|
BatchCheckLayerAvailabilityResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<LayerFailure> |
getFailures()
Any failures associated with the call.
|
java.util.List<Layer> |
getLayers()
A list of image layer objects corresponding to the image layer references
in the request.
|
int |
hashCode() |
void |
setFailures(java.util.Collection<LayerFailure> failures)
Any failures associated with the call.
|
void |
setLayers(java.util.Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references
in the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchCheckLayerAvailabilityResult |
withFailures(java.util.Collection<LayerFailure> failures)
Any failures associated with the call.
|
BatchCheckLayerAvailabilityResult |
withFailures(LayerFailure... failures)
Any failures associated with the call.
|
BatchCheckLayerAvailabilityResult |
withLayers(java.util.Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references
in the request.
|
BatchCheckLayerAvailabilityResult |
withLayers(Layer... layers)
A list of image layer objects corresponding to the image layer references
in the request.
|
private java.util.List<Layer> layers
A list of image layer objects corresponding to the image layer references in the request.
private java.util.List<LayerFailure> failures
Any failures associated with the call.
public java.util.List<Layer> getLayers()
A list of image layer objects corresponding to the image layer references in the request.
public void setLayers(java.util.Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references in the request.
layers
- A list of image layer objects corresponding to the image layer
references in the request.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)
or
withLayers(java.util.Collection)
if you want to override the
existing values.
layers
- A list of image layer objects corresponding to the image layer
references in the request.public BatchCheckLayerAvailabilityResult withLayers(java.util.Collection<Layer> layers)
A list of image layer objects corresponding to the image layer references in the request.
layers
- A list of image layer objects corresponding to the image layer
references in the request.public java.util.List<LayerFailure> getFailures()
Any failures associated with the call.
public void setFailures(java.util.Collection<LayerFailure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.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)
or
withFailures(java.util.Collection)
if you want to override the
existing values.
failures
- Any failures associated with the call.public BatchCheckLayerAvailabilityResult withFailures(java.util.Collection<LayerFailure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BatchCheckLayerAvailabilityResult clone()
clone
in class java.lang.Object