@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.
|
PatchFilterGroup |
getPatchFilterGroup()
The patch filter group that defines the criteria for the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 |
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 |
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 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)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.