@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowTemplateFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that filters a workflow search.
Constructor and Description |
---|
FlowTemplateFilter() |
Modifier and Type | Method and Description |
---|---|
FlowTemplateFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the search filter field.
|
List<String> |
getValue()
An array of string values for the search filter field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the search filter field.
|
void |
setValue(Collection<String> value)
An array of string values for the search filter field.
|
String |
toString()
Returns a string representation of this object.
|
FlowTemplateFilter |
withName(FlowTemplateFilterName name)
The name of the search filter field.
|
FlowTemplateFilter |
withName(String name)
The name of the search filter field.
|
FlowTemplateFilter |
withValue(Collection<String> value)
An array of string values for the search filter field.
|
FlowTemplateFilter |
withValue(String... value)
An array of string values for the search filter field.
|
public void setName(String name)
The name of the search filter field.
name
- The name of the search filter field.FlowTemplateFilterName
public String getName()
The name of the search filter field.
FlowTemplateFilterName
public FlowTemplateFilter withName(String name)
The name of the search filter field.
name
- The name of the search filter field.FlowTemplateFilterName
public FlowTemplateFilter withName(FlowTemplateFilterName name)
The name of the search filter field.
name
- The name of the search filter field.FlowTemplateFilterName
public List<String> getValue()
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
public void setValue(Collection<String> value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public FlowTemplateFilter withValue(String... value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public FlowTemplateFilter withValue(Collection<String> value)
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
value
- An array of string values for the search filter field. Multiple values function as AND criteria in the
search.public String toString()
toString
in class Object
Object.toString()
public FlowTemplateFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.