com.amazonaws.services.ec2.model
Class Filter

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

public class Filter
extends Object

Filter


Constructor Summary
Filter()
           
 
Method Summary
 String getName()
          Returns the value of the Name property for this object.
 List<String> getValues()
          Returns the value of the Values property for this object.
 void setName(String name)
          Sets the value of the Name property for this object.
 void setValues(Collection<String> values)
          Sets the value of the Values property for this object.
 Filter withName(String name)
          Sets the value of the Name property for this object.
 Filter withValues(Collection<String> values)
          Sets the value of the Values property for this object.
 Filter withValues(String... values)
          Sets the value of the Values property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

getName

public String getName()
Returns the value of the Name property for this object.

Returns:
The value of the Name property for this object.

setName

public void setName(String name)
Sets the value of the Name property for this object.

Parameters:
name - The new value for the Name property for this object.

withName

public Filter withName(String name)
Sets the value of the Name property for this object.

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

Parameters:
name - The new value for the Name property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getValues

public List<String> getValues()
Returns the value of the Values property for this object.

Returns:
The value of the Values property for this object.

setValues

public void setValues(Collection<String> values)
Sets the value of the Values property for this object.

Parameters:
values - The new value for the Values property for this object.

withValues

public Filter withValues(String... values)
Sets the value of the Values property for this object.

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

Parameters:
values - The new value for the Values property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withValues

public Filter withValues(Collection<String> values)
Sets the value of the Values property for this object.

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

Parameters:
values - The new value for the Values property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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