@Generated(value="software.amazon.awssdk:codegen") public final class PatchFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PatchFilter.Builder,PatchFilter>
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
| Modifier and Type | Class and Description |
|---|---|
static interface |
PatchFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PatchFilter.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PatchFilterKey |
key()
The key for the filter.
|
String |
keyAsString()
The key for the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PatchFilter.Builder> |
serializableBuilderClass() |
PatchFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
The value for the filter key.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic PatchFilterKey key()
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
If the service returns an enum value that is not available in the current SDK version, key will return
PatchFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic String keyAsString()
The key for the filter.
See PatchFilter for lists of valid keys for each operating system type.
If the service returns an enum value that is not available in the current SDK version, key will return
PatchFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
See PatchFilter for lists of valid keys for each operating system type.
PatchFilterKeypublic List<String> values()
The value for the filter key.
See PatchFilter for lists of valid values for each key based on operating system type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
See PatchFilter for lists of valid values for each key based on operating system type.
public PatchFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PatchFilter.Builder,PatchFilter>public static PatchFilter.Builder builder()
public static Class<? extends PatchFilter.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.