@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchFilter extends Object implements Serializable, Cloneable, StructuredPojo
Defines a patch filter.
A patch filter consists of key/value pairs, but not all keys are valid for all operating system types. For example,
the key PRODUCT is valid for all supported operating system types. The key MSRC_SEVERITY,
however, is valid only for Windows operating systems, and the key SECTION is valid only for Ubuntu
operating systems.
Refer to the following sections for information about which keys may be used with each major operating system, and which values are valid for each key.
Windows Operating Systems
The supported keys for Windows operating systems are PRODUCT, CLASSIFICATION, and
MSRC_SEVERITY. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
Windows7
Windows8
Windows8.1
Windows8Embedded
Windows10
Windows10LTSB
WindowsServer2008
WindowsServer2008R2
WindowsServer2012
WindowsServer2012R2
WindowsServer2016
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
CriticalUpdates
DefinitionUpdates
Drivers
FeaturePacks
SecurityUpdates
ServicePacks
Tools
UpdateRollups
Updates
Upgrades
Supported key: MSRC_SEVERITY
Supported values:
Critical
Important
Moderate
Low
Unspecified
Ubuntu Operating Systems
The supported keys for Ubuntu operating systems are PRODUCT, PRIORITY, and
SECTION. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
Ubuntu14.04
Ubuntu16.04
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: PRIORITY
Supported values:
Required
Important
Standard
Optional
Extra
Supported key: SECTION
Only the length of the key value is validated. Minimum length is 1. Maximum length is 64.
Amazon Linux Operating Systems
The supported keys for Amazon Linux operating systems are PRODUCT, CLASSIFICATION, and
SEVERITY. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
AmazonLinux2012.03
AmazonLinux2012.09
AmazonLinux2013.03
AmazonLinux2013.09
AmazonLinux2014.03
AmazonLinux2014.09
AmazonLinux2015.03
AmazonLinux2015.09
AmazonLinux2016.03
AmazonLinux2016.09
AmazonLinux2017.03
AmazonLinux2017.09
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
Security
Bugfix
Enhancement
Recommended
Newpackage
Supported key: SEVERITY
Supported values:
Critical
Important
Medium
Low
Amazon Linux 2 Operating Systems
The supported keys for Amazon Linux 2 operating systems are PRODUCT, CLASSIFICATION, and
SEVERITY. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
AmazonLinux2
AmazonLinux2.0
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
Security
Bugfix
Enhancement
Recommended
Newpackage
Supported key: SEVERITY
Supported values:
Critical
Important
Medium
Low
RedHat Enterprise Linux (RHEL) Operating Systems
The supported keys for RedHat Enterprise Linux operating systems are PRODUCT,
CLASSIFICATION, and SEVERITY. See the following lists for valid values for each of these
keys.
Supported key: PRODUCT
Supported values:
RedhatEnterpriseLinux6.5
RedhatEnterpriseLinux6.6
RedhatEnterpriseLinux6.7
RedhatEnterpriseLinux6.8
RedhatEnterpriseLinux6.9
RedhatEnterpriseLinux7.0
RedhatEnterpriseLinux7.1
RedhatEnterpriseLinux7.2
RedhatEnterpriseLinux7.3
RedhatEnterpriseLinux7.4
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
Security
Bugfix
Enhancement
Recommended
Newpackage
Supported key: SEVERITY
Supported values:
Critical
Important
Medium
Low
SUSE Linux Enterprise Server (SLES) Operating Systems
The supported keys for SLES operating systems are PRODUCT, CLASSIFICATION, and
SEVERITY. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
Suse12.0
Suse12.1
Suse12.2
Suse12.3
Suse12.4
Suse12.5
Suse12.6
Suse12.7
Suse12.8
Suse12.9
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
Security
Recommended
Optional
Feature
Document
Yast
Supported key: SEVERITY
Supported values:
Critical
Important
Moderate
Low
CentOS Operating Systems
The supported keys for CentOS operating systems are PRODUCT, CLASSIFICATION, and
SEVERITY. See the following lists for valid values for each of these keys.
Supported key: PRODUCT
Supported values:
CentOS6.5
CentOS6.6
CentOS6.7
CentOS6.8
CentOS6.9
CentOS7.0
CentOS7.1
CentOS7.2
CentOS7.3
CentOS7.4
*
Use a wildcard character (*) to target all supported operating system versions.
Supported key: CLASSIFICATION
Supported values:
Security
Bugfix
Enhancement
Recommended
Newpackage
Supported key: SEVERITY
Supported values:
Critical
Important
Medium
Low
| Constructor and Description |
|---|
PatchFilter() |
| Modifier and Type | Method and Description |
|---|---|
PatchFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key for the filter.
|
List<String> |
getValues()
The value for the filter key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(PatchFilterKey key)
The key for the filter.
|
void |
setKey(String key)
The key for the filter.
|
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.
|
PatchFilter |
withKey(String key)
The key for the filter.
|
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.
See PatchFilter for lists of valid keys for each operating system type.
key - The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic String getKey()
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic PatchFilter withKey(String key)
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
key - The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic void setKey(PatchFilterKey key)
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
key - The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic PatchFilter withKey(PatchFilterKey key)
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
key - The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic List<String> getValues()
The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
See PatchFilter for lists of valid values for each key based on operating system type.
public void setValues(Collection<String> values)
The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
values - The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
public PatchFilter withValues(String... values)
The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
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.
See PatchFilter for lists of valid values for each key based on operating system type.
public PatchFilter withValues(Collection<String> values)
The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
values - The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
public String toString()
toString in class ObjectObject.toString()public PatchFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.