public class DescribePoliciesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<ScalingPolicy> |
scalingPolicies
The scaling policies.
|
Constructor and Description |
---|
DescribePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
DescribePoliciesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
java.util.List<ScalingPolicy> |
getScalingPolicies()
The scaling policies.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePoliciesResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
DescribePoliciesResult |
withScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
|
DescribePoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
The scaling policies.
|
private SdkInternalList<ScalingPolicy> scalingPolicies
The scaling policies.
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<ScalingPolicy> getScalingPolicies()
The scaling policies.
public void setScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
scalingPolicies
- The scaling policies.public DescribePoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
The scaling policies.
NOTE: This method appends the values to the existing list (if
any). Use setScalingPolicies(java.util.Collection)
or
withScalingPolicies(java.util.Collection)
if you want to
override the existing values.
scalingPolicies
- The scaling policies.public DescribePoliciesResult withScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
scalingPolicies
- The scaling policies.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 DescribePoliciesResult 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 DescribePoliciesResult clone()
clone
in class java.lang.Object