@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTargetFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter used for the target resources in an experiment.
Constructor and Description |
---|
ExperimentTargetFilter() |
Modifier and Type | Method and Description |
---|---|
ExperimentTargetFilter |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
The attribute path for the filter.
|
List<String> |
getValues()
The attribute values for the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPath(String path)
The attribute path for the filter.
|
void |
setValues(Collection<String> values)
The attribute values for the filter.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentTargetFilter |
withPath(String path)
The attribute path for the filter.
|
ExperimentTargetFilter |
withValues(Collection<String> values)
The attribute values for the filter.
|
ExperimentTargetFilter |
withValues(String... values)
The attribute values for the filter.
|
public void setPath(String path)
The attribute path for the filter.
path
- The attribute path for the filter.public String getPath()
The attribute path for the filter.
public ExperimentTargetFilter withPath(String path)
The attribute path for the filter.
path
- The attribute path for the filter.public List<String> getValues()
The attribute values for the filter.
public void setValues(Collection<String> values)
The attribute values for the filter.
values
- The attribute values for the filter.public ExperimentTargetFilter withValues(String... values)
The attribute values for the filter.
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
- The attribute values for the filter.public ExperimentTargetFilter withValues(Collection<String> values)
The attribute values for the filter.
values
- The attribute values for the filter.public String toString()
toString
in class Object
Object.toString()
public ExperimentTargetFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.