@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
DescribePoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A string that indicates that the response contains more items than can be returned in a single response.
|
List<ScalingPolicy> |
getScalingPolicies()
The scaling policies.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
void |
setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
|
String |
toString()
Returns a string representation of this object.
|
DescribePoliciesResult |
withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
DescribePoliciesResult |
withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
|
DescribePoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
The scaling policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScalingPolicy> getScalingPolicies()
The scaling policies.
public void setScalingPolicies(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(Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
scalingPolicies
- The scaling policies.public void setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribePoliciesResult withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribePoliciesResult clone()