public class DescribeLoadBalancersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<LoadBalancerState> |
loadBalancers
The load balancers.
|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
Constructor and Description |
---|
DescribeLoadBalancersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLoadBalancersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<LoadBalancerState> |
getLoadBalancers()
The load balancers.
|
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setLoadBalancers(java.util.Collection<LoadBalancerState> loadBalancers)
The load balancers.
|
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancersResult |
withLoadBalancers(java.util.Collection<LoadBalancerState> loadBalancers)
The load balancers.
|
DescribeLoadBalancersResult |
withLoadBalancers(LoadBalancerState... loadBalancers)
The load balancers.
|
DescribeLoadBalancersResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
private SdkInternalList<LoadBalancerState> loadBalancers
The load balancers.
private java.lang.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.
public java.util.List<LoadBalancerState> getLoadBalancers()
The load balancers.
public void setLoadBalancers(java.util.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(java.util.Collection<LoadBalancerState> loadBalancers)
The load balancers.
loadBalancers
- The load balancers.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeLoadBalancersResult clone()
clone
in class java.lang.Object