Class Filter
java.lang.Object
com.amazonaws.services.autoscaling.model.Filter
- All Implemented Interfaces:
Serializable,Cloneable
Describes a filter.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()The name of the filter.The value of the filter.inthashCode()voidThe name of the filter.voidsetValues(Collection<String> values) The value of the filter.toString()Returns a string representation of this object; useful for testing and debugging.The name of the filter.withValues(String... values) The value of the filter.withValues(Collection<String> values) The value of the filter.
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
setName
The name of the filter. The valid values are:
"auto-scaling-group","key","value", and"propagate-at-launch".- Parameters:
name- The name of the filter. The valid values are:"auto-scaling-group","key","value", and"propagate-at-launch".
-
getName
The name of the filter. The valid values are:
"auto-scaling-group","key","value", and"propagate-at-launch".- Returns:
- The name of the filter. The valid values are:
"auto-scaling-group","key","value", and"propagate-at-launch".
-
withName
The name of the filter. The valid values are:
"auto-scaling-group","key","value", and"propagate-at-launch".- Parameters:
name- The name of the filter. The valid values are:"auto-scaling-group","key","value", and"propagate-at-launch".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValues
The value of the filter.
- Returns:
- The value of the filter.
-
setValues
The value of the filter.
- Parameters:
values- The value of the filter.
-
withValues
The value of the filter.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)orwithValues(java.util.Collection)if you want to override the existing values.- Parameters:
values- The value of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValues
The value of the filter.
- Parameters:
values- The value of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-