@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A structure containing a list of LAGs.
Constructor and Description |
---|
DescribeLagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLagsResult |
clone() |
boolean |
equals(Object obj) |
List<Lag> |
getLags()
A list of LAGs.
|
int |
hashCode() |
void |
setLags(Collection<Lag> lags)
A list of LAGs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeLagsResult |
withLags(Collection<Lag> lags)
A list of LAGs.
|
DescribeLagsResult |
withLags(Lag... lags)
A list of LAGs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLags(Collection<Lag> lags)
A list of LAGs.
lags
- A list of LAGs.public DescribeLagsResult withLags(Lag... lags)
A list of LAGs.
NOTE: This method appends the values to the existing list (if any). Use
setLags(java.util.Collection)
or withLags(java.util.Collection)
if you want to override the
existing values.
lags
- A list of LAGs.public DescribeLagsResult withLags(Collection<Lag> lags)
A list of LAGs.
lags
- A list of LAGs.public String toString()
toString
in class Object
Object.toString()
public DescribeLagsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.