public class DescribeLayersResult extends Object implements Serializable, Cloneable
Contains the response to a DescribeLayers request.
| Constructor and Description |
|---|
DescribeLayersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeLayersResult |
clone() |
boolean |
equals(Object obj) |
List<Layer> |
getLayers()
An array of
Layer objects that describe the layers. |
int |
hashCode() |
void |
setLayers(Collection<Layer> layers)
An array of
Layer objects that describe the layers. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLayersResult |
withLayers(Collection<Layer> layers)
An array of
Layer objects that describe the layers. |
DescribeLayersResult |
withLayers(Layer... layers)
An array of
Layer objects that describe the layers. |
public List<Layer> getLayers()
An array of Layer objects that describe the layers.
Layer objects that describe the layers.public void setLayers(Collection<Layer> layers)
An array of Layer objects that describe the layers.
layers - An array of Layer objects that describe the layers.public DescribeLayersResult withLayers(Layer... layers)
An array of Layer objects that describe the layers.
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 - An array of Layer objects that describe the layers.public DescribeLayersResult withLayers(Collection<Layer> layers)
An array of Layer objects that describe the layers.
layers - An array of Layer objects that describe the layers.public String toString()
toString in class ObjectObject.toString()public DescribeLayersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.