public class DescribeScalingPoliciesResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeScalingPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScalingPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
NextToken value to include in a future
DescribeScalingPolicies request. |
List<ScalingPolicy> |
getScalingPolicies()
A list of scaling policy objects.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
NextToken value to include in a future
DescribeScalingPolicies request. |
void |
setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policy objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalingPoliciesResult |
withNextToken(String nextToken)
The
NextToken value to include in a future
DescribeScalingPolicies request. |
DescribeScalingPoliciesResult |
withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policy objects.
|
DescribeScalingPoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
A list of scaling policy objects.
|
public List<ScalingPolicy> getScalingPolicies()
A list of scaling policy objects.
public void setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policy objects.
scalingPolicies - A list of scaling policy objects.public DescribeScalingPoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
A list of scaling policy objects.
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 list of scaling policy objects.public DescribeScalingPoliciesResult withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policy objects.
scalingPolicies - A list of scaling policy objects.public void setNextToken(String nextToken)
The NextToken value to include in a future
DescribeScalingPolicies request. When the results of a
DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
nextToken - The NextToken value to include in a future
DescribeScalingPolicies request. When the results of
a DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public String getNextToken()
The NextToken value to include in a future
DescribeScalingPolicies request. When the results of a
DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
NextToken value to include in a future
DescribeScalingPolicies request. When the results of
a DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public DescribeScalingPoliciesResult withNextToken(String nextToken)
The NextToken value to include in a future
DescribeScalingPolicies request. When the results of a
DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the next page
of results. This value is null when there are no more
results to return.
nextToken - The NextToken value to include in a future
DescribeScalingPolicies request. When the results of
a DescribeScalingPolicies request exceed
MaxResults, this value can be used to retrieve the
next page of results. This value is null when there
are no more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeScalingPoliciesResult clone()
Copyright © 2016. All rights reserved.