@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsMetadataFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter to limit the number of OpsMetadata objects displayed.
| Constructor and Description |
|---|
OpsMetadataFilter() |
| Modifier and Type | Method and Description |
|---|---|
OpsMetadataFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A filter key.
|
List<String> |
getValues()
A filter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
A filter key.
|
void |
setValues(Collection<String> values)
A filter value.
|
String |
toString()
Returns a string representation of this object.
|
OpsMetadataFilter |
withKey(String key)
A filter key.
|
OpsMetadataFilter |
withValues(Collection<String> values)
A filter value.
|
OpsMetadataFilter |
withValues(String... values)
A filter value.
|
public void setKey(String key)
A filter key.
key - A filter key.public String getKey()
A filter key.
public OpsMetadataFilter withKey(String key)
A filter key.
key - A filter key.public void setValues(Collection<String> values)
A filter value.
values - A filter value.public OpsMetadataFilter withValues(String... values)
A 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 - A filter value.public OpsMetadataFilter withValues(Collection<String> values)
A filter value.
values - A filter value.public String toString()
toString in class ObjectObject.toString()public OpsMetadataFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.