com.amazonaws.services.autoscaling.model
Class Filter

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

public class Filter
extends Object

The Filter data type.


Constructor Summary
Filter()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of the filter.
 List<String> getValues()
          The value of the filter.
 int hashCode()
           
 void setName(String name)
          The name of the filter.
 void setValues(Collection<String> values)
          The value of the filter.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Filter withName(String name)
          The name of the filter.
 Filter withValues(Collection<String> values)
          The value of the filter.
 Filter withValues(String... values)
          The value of the filter.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

getName

public String getName()
The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

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

Returns:
The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

setName

public void setName(String name)
The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

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

Parameters:
name - The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

withName

public Filter withName(String name)
The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

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

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

Parameters:
name - The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".
Returns:
A reference to this updated object so that method calls can be chained together.

getValues

public List<String> getValues()
The value of the filter.

Returns:
The value of the filter.

setValues

public void setValues(Collection<String> values)
The value of the filter.

Parameters:
values - The value of the filter.

withValues

public Filter withValues(String... values)
The value of the filter.

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

Parameters:
values - The value of the filter.
Returns:
A reference to this updated object so that method calls can be chained together.

withValues

public Filter withValues(Collection<String> values)
The value of the filter.

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

Parameters:
values - The value of the filter.
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.