@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes an OpsItem filter.
| Constructor and Description |
|---|
OpsItemFilter() |
| Modifier and Type | Method and Description |
|---|---|
OpsItemFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getOperator()
The operator used by the filter call.
|
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 |
setOperator(String operator)
The operator used by the filter call.
|
void |
setValues(Collection<String> values)
The filter value.
|
String |
toString()
Returns a string representation of this object.
|
OpsItemFilter |
withKey(OpsItemFilterKey key)
The name of the filter.
|
OpsItemFilter |
withKey(String key)
The name of the filter.
|
OpsItemFilter |
withOperator(OpsItemFilterOperator operator)
The operator used by the filter call.
|
OpsItemFilter |
withOperator(String operator)
The operator used by the filter call.
|
OpsItemFilter |
withValues(Collection<String> values)
The filter value.
|
OpsItemFilter |
withValues(String... values)
The filter value.
|
public void setKey(String key)
The name of the filter.
key - The name of the filter.OpsItemFilterKeypublic String getKey()
The name of the filter.
OpsItemFilterKeypublic OpsItemFilter withKey(String key)
The name of the filter.
key - The name of the filter.OpsItemFilterKeypublic OpsItemFilter withKey(OpsItemFilterKey key)
The name of the filter.
key - The name of the filter.OpsItemFilterKeypublic void setValues(Collection<String> values)
The filter value.
values - The filter value.public OpsItemFilter 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 OpsItemFilter withValues(Collection<String> values)
The filter value.
values - The filter value.public void setOperator(String operator)
The operator used by the filter call.
operator - The operator used by the filter call.OpsItemFilterOperatorpublic String getOperator()
The operator used by the filter call.
OpsItemFilterOperatorpublic OpsItemFilter withOperator(String operator)
The operator used by the filter call.
operator - The operator used by the filter call.OpsItemFilterOperatorpublic OpsItemFilter withOperator(OpsItemFilterOperator operator)
The operator used by the filter call.
operator - The operator used by the filter call.OpsItemFilterOperatorpublic String toString()
toString in class ObjectObject.toString()public OpsItemFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.