@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTemplateTargetInputFilter extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a filter used for the target resource input in an experiment template.
For more information, see Resource filters in the Fault Injection Service User Guide.
Constructor and Description |
---|
ExperimentTemplateTargetInputFilter() |
Modifier and Type | Method and Description |
---|---|
ExperimentTemplateTargetInputFilter |
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.
|
ExperimentTemplateTargetInputFilter |
withPath(String path)
The attribute path for the filter.
|
ExperimentTemplateTargetInputFilter |
withValues(Collection<String> values)
The attribute values for the filter.
|
ExperimentTemplateTargetInputFilter |
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 ExperimentTemplateTargetInputFilter 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 ExperimentTemplateTargetInputFilter 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 ExperimentTemplateTargetInputFilter 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 ExperimentTemplateTargetInputFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.