Class DescribeScalingPoliciesResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
TheNextToken
value to include in a futureDescribeScalingPolicies
request.A list of scaling policy objects.int
hashCode()
void
setNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeScalingPolicies
request.void
setScalingPolicies
(Collection<ScalingPolicy> scalingPolicies) A list of scaling policy objects.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeScalingPolicies
request.withScalingPolicies
(ScalingPolicy... scalingPolicies) A list of scaling policy objects.withScalingPolicies
(Collection<ScalingPolicy> scalingPolicies) A list of scaling policy objects.
-
Constructor Details
-
DescribeScalingPoliciesResult
public DescribeScalingPoliciesResult()
-
-
Method Details
-
getScalingPolicies
A list of scaling policy objects.
- Returns:
- A list of scaling policy objects.
-
setScalingPolicies
A list of scaling policy objects.
- Parameters:
scalingPolicies
- A list of scaling policy objects.
-
withScalingPolicies
A list of scaling policy objects.
NOTE: This method appends the values to the existing list (if any). Use
setScalingPolicies(java.util.Collection)
orwithScalingPolicies(java.util.Collection)
if you want to override the existing values.- Parameters:
scalingPolicies
- A list of scaling policy objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withScalingPolicies
A list of scaling policy objects.
- Parameters:
scalingPolicies
- A list of scaling policy objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The
NextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
The
NextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
NextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
The
NextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeScalingPolicies
request. When the results of aDescribeScalingPolicies
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-