@Generated(value="software.amazon.awssdk:codegen") public final class PatchRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PatchRule.Builder,PatchRule>
Defines an approval rule for a patch baseline.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PatchRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
approveAfterDays()
The number of days after the release date of each patch matched by the rule the patch is marked as approved in
the patch baseline.
|
static PatchRule.Builder |
builder() |
PatchComplianceLevel |
complianceLevel()
A compliance severity level for all approved patches in a patch baseline.
|
String |
complianceLevelAsString()
A compliance severity level for all approved patches in a patch baseline.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PatchFilterGroup |
patchFilterGroup()
The patch filter group that defines the criteria for the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PatchRule.Builder> |
serializableBuilderClass() |
PatchRule.Builder |
toBuilder() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic PatchFilterGroup patchFilterGroup()
The patch filter group that defines the criteria for the rule.
public PatchComplianceLevel complianceLevel()
A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: Unspecified, Critical, High, Medium, Low, and Informational.
If the service returns an enum value that is not available in the current SDK version, complianceLevel
will return PatchComplianceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from complianceLevelAsString().
PatchComplianceLevelpublic String complianceLevelAsString()
A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: Unspecified, Critical, High, Medium, Low, and Informational.
If the service returns an enum value that is not available in the current SDK version, complianceLevel
will return PatchComplianceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from complianceLevelAsString().
PatchComplianceLevelpublic Integer approveAfterDays()
The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline.
public PatchRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PatchRule.Builder,PatchRule>public static PatchRule.Builder builder()
public static Class<? extends PatchRule.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.