@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 that the patch is marked as approved
in the patch baseline.
|
String |
getApproveUntilDate()
The cutoff date for auto approval of released patches.
|
String |
getComplianceLevel()
A compliance severity level for all approved patches in a patch baseline.
|
Boolean |
getEnableNonSecurity()
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates
available in the specified repository.
|
PatchFilterGroup |
getPatchFilterGroup()
The patch filter group that defines the criteria for the rule.
|
int |
hashCode() |
Boolean |
isEnableNonSecurity()
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates
available in the specified repository.
|
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 that the patch is marked as approved
in the patch baseline.
|
void |
setApproveUntilDate(String approveUntilDate)
The cutoff date for auto approval of released patches.
|
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 |
setEnableNonSecurity(Boolean enableNonSecurity)
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates
available in the specified repository.
|
void |
setPatchFilterGroup(PatchFilterGroup patchFilterGroup)
The patch filter group that defines the criteria for the rule.
|
String |
toString()
Returns a string representation of this object.
|
PatchRule |
withApproveAfterDays(Integer approveAfterDays)
The number of days after the release date of each patch matched by the rule that the patch is marked as approved
in the patch baseline.
|
PatchRule |
withApproveUntilDate(String approveUntilDate)
The cutoff date for auto approval of released patches.
|
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 |
withEnableNonSecurity(Boolean enableNonSecurity)
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates
available in the specified repository.
|
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.PatchComplianceLevel
public 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.
PatchComplianceLevel
public 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.PatchComplianceLevel
public 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.PatchComplianceLevel
public 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.PatchComplianceLevel
public void setApproveAfterDays(Integer approveAfterDays)
The number of days after the release date of each patch matched by the rule that the patch is marked as approved
in the patch baseline. For example, a value of 7
means that patches are approved seven days after
they are released.
approveAfterDays
- The number of days after the release date of each patch matched by the rule that the patch is marked as
approved in the patch baseline. For example, a value of 7
means that patches are approved
seven days after they are released.public Integer getApproveAfterDays()
The number of days after the release date of each patch matched by the rule that the patch is marked as approved
in the patch baseline. For example, a value of 7
means that patches are approved seven days after
they are released.
7
means that patches are approved
seven days after they are released.public PatchRule withApproveAfterDays(Integer approveAfterDays)
The number of days after the release date of each patch matched by the rule that the patch is marked as approved
in the patch baseline. For example, a value of 7
means that patches are approved seven days after
they are released.
approveAfterDays
- The number of days after the release date of each patch matched by the rule that the patch is marked as
approved in the patch baseline. For example, a value of 7
means that patches are approved
seven days after they are released.public void setApproveUntilDate(String approveUntilDate)
The cutoff date for auto approval of released patches. Any patches released on or before this date will be installed automatically
approveUntilDate
- The cutoff date for auto approval of released patches. Any patches released on or before this date will be
installed automaticallypublic String getApproveUntilDate()
The cutoff date for auto approval of released patches. Any patches released on or before this date will be installed automatically
public PatchRule withApproveUntilDate(String approveUntilDate)
The cutoff date for auto approval of released patches. Any patches released on or before this date will be installed automatically
approveUntilDate
- The cutoff date for auto approval of released patches. Any patches released on or before this date will be
installed automaticallypublic void setEnableNonSecurity(Boolean enableNonSecurity)
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.
enableNonSecurity
- For instances identified by the approval rule filters, enables a patch baseline to apply non-security
updates available in the specified repository. The default value is 'false'. Applies to Linux instances
only.public Boolean getEnableNonSecurity()
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.
public PatchRule withEnableNonSecurity(Boolean enableNonSecurity)
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.
enableNonSecurity
- For instances identified by the approval rule filters, enables a patch baseline to apply non-security
updates available in the specified repository. The default value is 'false'. Applies to Linux instances
only.public Boolean isEnableNonSecurity()
For instances identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is 'false'. Applies to Linux instances only.
public String toString()
toString
in class Object
Object.toString()
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.