@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLayersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLayersResult() |
Modifier and Type | Method and Description |
---|---|
ListLayersResult |
clone() |
boolean |
equals(Object obj) |
List<LayersListItem> |
getLayers()
A list of function layers.
|
String |
getNextMarker()
A pagination token returned when the response doesn't contain all layers.
|
int |
hashCode() |
void |
setLayers(Collection<LayersListItem> layers)
A list of function layers.
|
void |
setNextMarker(String nextMarker)
A pagination token returned when the response doesn't contain all layers.
|
String |
toString()
Returns a string representation of this object.
|
ListLayersResult |
withLayers(Collection<LayersListItem> layers)
A list of function layers.
|
ListLayersResult |
withLayers(LayersListItem... layers)
A list of function layers.
|
ListLayersResult |
withNextMarker(String nextMarker)
A pagination token returned when the response doesn't contain all layers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextMarker(String nextMarker)
A pagination token returned when the response doesn't contain all layers.
nextMarker
- A pagination token returned when the response doesn't contain all layers.public String getNextMarker()
A pagination token returned when the response doesn't contain all layers.
public ListLayersResult withNextMarker(String nextMarker)
A pagination token returned when the response doesn't contain all layers.
nextMarker
- A pagination token returned when the response doesn't contain all layers.public List<LayersListItem> getLayers()
A list of function layers.
public void setLayers(Collection<LayersListItem> layers)
A list of function layers.
layers
- A list of function layers.public ListLayersResult withLayers(LayersListItem... layers)
A list of function 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
- A list of function layers.public ListLayersResult withLayers(Collection<LayersListItem> layers)
A list of function layers.
layers
- A list of function layers.public String toString()
toString
in class Object
Object.toString()
public ListLayersResult clone()