@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchFilter extends Object implements Serializable, Cloneable, StructuredPojo
Defines a patch filter.
| Constructor and Description |
|---|
PatchFilter() |
| Modifier and Type | Method and Description |
|---|---|
PatchFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
|
List<String> |
getValues()
The value for the filter key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(PatchFilterKey key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
|
void |
setKey(String key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
|
void |
setValues(Collection<String> values)
The value for the filter key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PatchFilter |
withKey(PatchFilterKey key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
|
PatchFilter |
withKey(String key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
|
PatchFilter |
withValues(Collection<String> values)
The value for the filter key.
|
PatchFilter |
withValues(String... values)
The value for the filter key.
|
public void setKey(String key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
key - The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)PatchFilterKeypublic String getKey()
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
PatchFilterKeypublic PatchFilter withKey(String key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
key - The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)PatchFilterKeypublic void setKey(PatchFilterKey key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
key - The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)PatchFilterKeypublic PatchFilter withKey(PatchFilterKey key)
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
key - The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)PatchFilterKeypublic List<String> getValues()
The value for the filter key.
public void setValues(Collection<String> values)
The value for the filter key.
values - The value for the filter key.public PatchFilter withValues(String... values)
The value for the filter key.
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 value for the filter key.public PatchFilter withValues(Collection<String> values)
The value for the filter key.
values - The value for the filter key.public String toString()
toString in class ObjectObject.toString()public PatchFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.