Class DescribeLayersResult
java.lang.Object
com.amazonaws.services.opsworks.model.DescribeLayersResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribeLayers
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array ofLayer
objects that describe the layers.int
hashCode()
void
setLayers
(Collection<Layer> layers) An array ofLayer
objects that describe the layers.toString()
Returns a string representation of this object; useful for testing and debugging.withLayers
(Layer... layers) An array ofLayer
objects that describe the layers.withLayers
(Collection<Layer> layers) An array ofLayer
objects that describe the layers.
-
Constructor Details
-
DescribeLayersResult
public DescribeLayersResult()
-
-
Method Details
-
getLayers
An array of
Layer
objects that describe the layers.- Returns:
- An array of
Layer
objects that describe the layers.
-
setLayers
An array of
Layer
objects that describe the layers.- Parameters:
layers
- An array ofLayer
objects that describe the layers.
-
withLayers
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)
orwithLayers(java.util.Collection)
if you want to override the existing values.- Parameters:
layers
- An array ofLayer
objects that describe the layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayers
An array of
Layer
objects that describe the layers.- Parameters:
layers
- An array ofLayer
objects that describe the layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-