@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeScalingPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token required to get the next set of results.
|
List<ScalingPolicy> |
getScalingPolicies()
Information about the scaling policies.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token required to get the next set of results.
|
void |
setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
Information about the scaling policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeScalingPoliciesResult |
withNextToken(String nextToken)
The token required to get the next set of results.
|
DescribeScalingPoliciesResult |
withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
Information about the scaling policies.
|
DescribeScalingPoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
Information about the scaling policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScalingPolicy> getScalingPolicies()
Information about the scaling policies.
public void setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.public DescribeScalingPoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
Information about 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
- Information about the scaling policies.public DescribeScalingPoliciesResult withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.public void setNextToken(String nextToken)
The token required to get the next set of results. This value is null
if there are no more results
to return.
nextToken
- The token required to get the next set of results. This value is null
if there are no more
results to return.public String getNextToken()
The token required to get the next set of results. This value is null
if there are no more results
to return.
null
if there are no more
results to return.public DescribeScalingPoliciesResult withNextToken(String nextToken)
The token required to get the next set of results. This value is null
if there are no more results
to return.
nextToken
- The token required to get the next set of results. This value is null
if there are no more
results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeScalingPoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.