@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter for viewing OpsData summaries.
| Constructor and Description |
|---|
OpsFilter() |
| Modifier and Type | Method and Description |
|---|---|
OpsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getType()
The type of filter.
|
List<String> |
getValues()
The filter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The name of the filter.
|
void |
setType(String type)
The type of filter.
|
void |
setValues(Collection<String> values)
The filter value.
|
String |
toString()
Returns a string representation of this object.
|
OpsFilter |
withKey(String key)
The name of the filter.
|
OpsFilter |
withType(OpsFilterOperatorType type)
The type of filter.
|
OpsFilter |
withType(String type)
The type of filter.
|
OpsFilter |
withValues(Collection<String> values)
The filter value.
|
OpsFilter |
withValues(String... values)
The filter value.
|
public void setKey(String key)
The name of the filter.
key - The name of the filter.public String getKey()
The name of the filter.
public OpsFilter withKey(String key)
The name of the filter.
key - The name of the filter.public void setValues(Collection<String> values)
The filter value.
values - The filter value.public OpsFilter withValues(String... values)
The filter value.
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 filter value.public OpsFilter withValues(Collection<String> values)
The filter value.
values - The filter value.public void setType(String type)
The type of filter.
type - The type of filter.OpsFilterOperatorTypepublic String getType()
The type of filter.
OpsFilterOperatorTypepublic OpsFilter withType(String type)
The type of filter.
type - The type of filter.OpsFilterOperatorTypepublic OpsFilter withType(OpsFilterOperatorType type)
The type of filter.
type - The type of filter.OpsFilterOperatorTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.