com.amazonaws.services.autoscaling.model
Class DescribePoliciesResult

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.DescribePoliciesResult
All Implemented Interfaces:
java.io.Serializable

public class DescribePoliciesResult
extends java.lang.Object
implements java.io.Serializable

The PoliciesType data type.

See Also:
Serialized Form

Constructor Summary
DescribePoliciesResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          A string that marks the start of the next batch of returned results.
 java.util.List<ScalingPolicy> getScalingPolicies()
          A list of scaling policies.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          A string that marks the start of the next batch of returned results.
 void setScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
          A list of scaling policies.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribePoliciesResult withNextToken(java.lang.String nextToken)
          A string that marks the start of the next batch of returned results.
 DescribePoliciesResult withScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
          A list of scaling policies.
 DescribePoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
          A list of scaling policies.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribePoliciesResult

public DescribePoliciesResult()
Method Detail

getScalingPolicies

public java.util.List<ScalingPolicy> getScalingPolicies()
A list of scaling policies.

Returns:
A list of scaling policies.

setScalingPolicies

public void setScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.

Parameters:
scalingPolicies - A list of scaling policies.

withScalingPolicies

public DescribePoliciesResult withScalingPolicies(ScalingPolicy... scalingPolicies)
A list of scaling policies.

Returns a reference to this object so that method calls can be chained together.

Parameters:
scalingPolicies - A list of scaling policies.
Returns:
A reference to this updated object so that method calls can be chained together.

withScalingPolicies

public DescribePoliciesResult withScalingPolicies(java.util.Collection<ScalingPolicy> scalingPolicies)
A list of scaling policies.

Returns a reference to this object so that method calls can be chained together.

Parameters:
scalingPolicies - A list of scaling policies.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public java.lang.String getNextToken()
A string that marks the start of the next batch of returned results.

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
A string that marks the start of the next batch of returned results.

setNextToken

public void setNextToken(java.lang.String nextToken)
A string that marks the start of the next batch of returned results.

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
nextToken - A string that marks the start of the next batch of returned results.

withNextToken

public DescribePoliciesResult withNextToken(java.lang.String nextToken)
A string that marks the start of the next batch of returned results.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
nextToken - A string that marks the start of the next batch of returned results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.