@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()
A token that indicates where to resume retrieving results on the next call to this operation.
|
List<ScalingPolicy> |
getScalingPolicies()
A collection of objects containing the scaling policies matching the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
void |
setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A collection of objects containing the scaling policies matching the request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScalingPoliciesResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
DescribeScalingPoliciesResult |
withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A collection of objects containing the scaling policies matching the request.
|
DescribeScalingPoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
A collection of objects containing the scaling policies matching the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScalingPolicy> getScalingPolicies()
A collection of objects containing the scaling policies matching the request.
public void setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A collection of objects containing the scaling policies matching the request.
scalingPolicies
- A collection of objects containing the scaling policies matching the request.public DescribeScalingPoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
A collection of objects containing the scaling policies matching the request.
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
- A collection of objects containing the scaling policies matching the request.public DescribeScalingPoliciesResult withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A collection of objects containing the scaling policies matching the request.
scalingPolicies
- A collection of objects containing the scaling policies matching the request.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public DescribeScalingPoliciesResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public DescribeScalingPoliciesResult clone()