@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.OpsFilterOperatorType
public String getType()
The type of filter.
OpsFilterOperatorType
public OpsFilter withType(String type)
The type of filter.
type
- The type of filter.OpsFilterOperatorType
public OpsFilter withType(OpsFilterOperatorType type)
The type of filter.
type
- The type of filter.OpsFilterOperatorType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.