@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLoadBalancersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLoadBalancersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLoadBalancersResult |
clone() |
boolean |
equals(Object obj) |
List<LoadBalancerState> |
getLoadBalancers()
The load balancers.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setLoadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeLoadBalancersResult |
withLoadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.
|
DescribeLoadBalancersResult |
withLoadBalancers(LoadBalancerState... loadBalancers)
The load balancers.
|
DescribeLoadBalancersResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LoadBalancerState> getLoadBalancers()
The load balancers.
public void setLoadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.
loadBalancers
- The load balancers.public DescribeLoadBalancersResult withLoadBalancers(LoadBalancerState... loadBalancers)
The load balancers.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancers(java.util.Collection)
or withLoadBalancers(java.util.Collection)
if you want
to override the existing values.
loadBalancers
- The load balancers.public DescribeLoadBalancersResult withLoadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.
loadBalancers
- The load balancers.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeLoadBalancersResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeLoadBalancersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.