com.amazonaws.services.autoscaling.model
Class DescribePoliciesResult

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.DescribePoliciesResult

public class DescribePoliciesResult
extends Object

The PoliciesType data type.


Constructor Summary
DescribePoliciesResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribePoliciesResult

public DescribePoliciesResult()
Method Detail

getScalingPolicies

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

Returns:
A list of scaling policies.

setScalingPolicies

public void setScalingPolicies(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(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 String getNextToken()
A string that marks the start of the next batch of returned results.

Constraints:
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

setNextToken

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

Constraints:
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

withNextToken

public DescribePoliciesResult withNextToken(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: [ -퟿-�𐀀-􏿿\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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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