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()booleanAn array ofLayerobjects that describe the layers.inthashCode()voidsetLayers(Collection<Layer> layers) An array ofLayerobjects that describe the layers.toString()Returns a string representation of this object; useful for testing and debugging.withLayers(Layer... layers) An array ofLayerobjects that describe the layers.withLayers(Collection<Layer> layers) An array ofLayerobjects that describe the layers.
-
Constructor Details
-
DescribeLayersResult
public DescribeLayersResult()
-
-
Method Details
-
getLayers
An array of
Layerobjects that describe the layers.- Returns:
- An array of
Layerobjects that describe the layers.
-
setLayers
An array of
Layerobjects that describe the layers.- Parameters:
layers- An array ofLayerobjects that describe the layers.
-
withLayers
An array of
Layerobjects 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 ofLayerobjects that describe the layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayers
An array of
Layerobjects that describe the layers.- Parameters:
layers- An array ofLayerobjects 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
-