public class DescribePoliciesResult extends Object implements Serializable
The PoliciesType
data type.
Constructor and Description |
---|
DescribePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
A string that marks the start of the next batch of returned results.
|
List<ScalingPolicy> |
getScalingPolicies()
A list of scaling policies.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
void |
setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePoliciesResult |
withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
DescribePoliciesResult |
withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.
|
DescribePoliciesResult |
withScalingPolicies(ScalingPolicy... scalingPolicies)
A list of scaling policies.
|
public List<ScalingPolicy> getScalingPolicies()
public void setScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
scalingPolicies
- A list of scaling policies.public DescribePoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
Returns a reference to this object so that method calls can be chained together.
scalingPolicies
- A list of scaling policies.public DescribePoliciesResult withScalingPolicies(Collection<ScalingPolicy> scalingPolicies)
Returns a reference to this object so that method calls can be chained together.
scalingPolicies
- A list of scaling policies.public String getNextToken()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results.public DescribePoliciesResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.