@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledActionFilter extends Object implements Serializable, Cloneable
A set of elements to filter the returned scheduled actions.
Constructor and Description |
---|
ScheduledActionFilter() |
Modifier and Type | Method and Description |
---|---|
ScheduledActionFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The type of element to filter.
|
List<String> |
getValues()
List of values.
|
int |
hashCode() |
void |
setName(String name)
The type of element to filter.
|
void |
setValues(Collection<String> values)
List of values.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledActionFilter |
withName(ScheduledActionFilterName name)
The type of element to filter.
|
ScheduledActionFilter |
withName(String name)
The type of element to filter.
|
ScheduledActionFilter |
withValues(Collection<String> values)
List of values.
|
ScheduledActionFilter |
withValues(String... values)
List of values.
|
public void setName(String name)
The type of element to filter.
name
- The type of element to filter.ScheduledActionFilterName
public String getName()
The type of element to filter.
ScheduledActionFilterName
public ScheduledActionFilter withName(String name)
The type of element to filter.
name
- The type of element to filter.ScheduledActionFilterName
public ScheduledActionFilter withName(ScheduledActionFilterName name)
The type of element to filter.
name
- The type of element to filter.ScheduledActionFilterName
public List<String> getValues()
List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.
Name
) equals an item in the list of
scheduled actions.public void setValues(Collection<String> values)
List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.
values
- List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.public ScheduledActionFilter withValues(String... values)
List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.public ScheduledActionFilter withValues(Collection<String> values)
List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.
values
- List of values. Compare if the value (of type defined by Name
) equals an item in the list of
scheduled actions.public String toString()
toString
in class Object
Object.toString()
public ScheduledActionFilter clone()