public class Filter
extends java.lang.Object
implements java.io.Serializable
Describes a filter.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the filter.
|
java.util.List<java.lang.String> |
getValues()
The value of the filter.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the filter.
|
void |
setValues(java.util.Collection<java.lang.String> values)
The value of the filter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Filter |
withName(java.lang.String name)
The name of the filter.
|
Filter |
withValues(java.util.Collection<java.lang.String> values)
The value of the filter.
|
Filter |
withValues(java.lang.String... values)
The value of the filter.
|
public java.lang.String getName()
The name of the filter. The valid values are:
"auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The name of the filter. The valid values are:
"auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
public void setName(java.lang.String name)
The name of the filter. The valid values are:
"auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
name
-
The name of the filter. The valid values are:
"auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
public Filter withName(java.lang.String name)
The name of the filter. The valid 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]*
name
-
The name of the filter. The valid values are:
"auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
public java.util.List<java.lang.String> getValues()
The value of the filter.
The value of the filter.
public void setValues(java.util.Collection<java.lang.String> values)
The value of the filter.
values
- The value of the filter.
public Filter withValues(java.lang.String... values)
The value of the filter.
Returns a reference to this object so that method calls can be chained together.
values
- The value of the filter.
public Filter withValues(java.util.Collection<java.lang.String> values)
The value of the filter.
Returns a reference to this object so that method calls can be chained together.
values
- The value of the filter.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.