@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)PatchFilterKey
public String getKey()
The key for the filter (PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID)
PatchFilterKey
public 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)PatchFilterKey
public 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)PatchFilterKey
public 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)PatchFilterKey
public 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 Object
Object.toString()
public PatchFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.