@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchRule extends Object implements Serializable, Cloneable, StructuredPojo
Defines an approval rule for a patch baseline.
| Constructor and Description |
|---|
PatchRule() |
| Modifier and Type | Method and Description |
|---|---|
PatchRule |
clone() |
boolean |
equals(Object obj) |
Integer |
getApproveAfterDays()
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.
|
String |
getComplianceLevel()
A compliance severity level for all approved patches in a patch baseline.
|
PatchFilterGroup |
getPatchFilterGroup()
The patch filter group that defines the criteria for the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApproveAfterDays(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.
|
void |
setComplianceLevel(PatchComplianceLevel complianceLevel)
A compliance severity level for all approved patches in a patch baseline.
|
void |
setComplianceLevel(String complianceLevel)
A compliance severity level for all approved patches in a patch baseline.
|
void |
setPatchFilterGroup(PatchFilterGroup patchFilterGroup)
The patch filter group that defines the criteria for the rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PatchRule |
withApproveAfterDays(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.
|
PatchRule |
withComplianceLevel(PatchComplianceLevel complianceLevel)
A compliance severity level for all approved patches in a patch baseline.
|
PatchRule |
withComplianceLevel(String complianceLevel)
A compliance severity level for all approved patches in a patch baseline.
|
PatchRule |
withPatchFilterGroup(PatchFilterGroup patchFilterGroup)
The patch filter group that defines the criteria for the rule.
|
public void setPatchFilterGroup(PatchFilterGroup patchFilterGroup)
The patch filter group that defines the criteria for the rule.
patchFilterGroup - The patch filter group that defines the criteria for the rule.public PatchFilterGroup getPatchFilterGroup()
The patch filter group that defines the criteria for the rule.
public PatchRule withPatchFilterGroup(PatchFilterGroup patchFilterGroup)
The patch filter group that defines the criteria for the rule.
patchFilterGroup - The patch filter group that defines the criteria for the rule.public void setComplianceLevel(String 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.
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.PatchComplianceLevelpublic String getComplianceLevel()
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.
PatchComplianceLevelpublic PatchRule withComplianceLevel(String 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.
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.PatchComplianceLevelpublic void setComplianceLevel(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.
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.PatchComplianceLevelpublic PatchRule withComplianceLevel(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.
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.PatchComplianceLevelpublic void setApproveAfterDays(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.
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 Integer getApproveAfterDays()
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 withApproveAfterDays(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.
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 String toString()
toString in class ObjectObject.toString()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.