@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaselineOverride extends Object implements Serializable, Cloneable, StructuredPojo
Defines the basic information about a patch baseline override.
Constructor and Description |
---|
BaselineOverride() |
Modifier and Type | Method and Description |
---|---|
BaselineOverride |
clone() |
boolean |
equals(Object obj) |
PatchRuleGroup |
getApprovalRules() |
List<String> |
getApprovedPatches()
A list of explicitly approved patches for the baseline.
|
String |
getApprovedPatchesComplianceLevel()
Defines the compliance level for approved patches.
|
Boolean |
getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
PatchFilterGroup |
getGlobalFilters() |
String |
getOperatingSystem()
The operating system rule used by the patch baseline override.
|
List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
String |
getRejectedPatchesAction()
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
List<PatchSource> |
getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
int |
hashCode() |
Boolean |
isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApprovalRules(PatchRuleGroup approvalRules) |
void |
setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
void |
setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
void |
setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
void |
setGlobalFilters(PatchFilterGroup globalFilters) |
void |
setOperatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
|
void |
setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
void |
setRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
void |
setSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
String |
toString()
Returns a string representation of this object.
|
BaselineOverride |
withApprovalRules(PatchRuleGroup approvalRules) |
BaselineOverride |
withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
BaselineOverride |
withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
BaselineOverride |
withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
BaselineOverride |
withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
BaselineOverride |
withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
BaselineOverride |
withGlobalFilters(PatchFilterGroup globalFilters) |
BaselineOverride |
withOperatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the patch baseline override.
|
BaselineOverride |
withOperatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
|
BaselineOverride |
withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
BaselineOverride |
withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
BaselineOverride |
withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
BaselineOverride |
withRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
BaselineOverride |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
BaselineOverride |
withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
public void setOperatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
operatingSystem
- The operating system rule used by the patch baseline override.OperatingSystem
public String getOperatingSystem()
The operating system rule used by the patch baseline override.
OperatingSystem
public BaselineOverride withOperatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
operatingSystem
- The operating system rule used by the patch baseline override.OperatingSystem
public BaselineOverride withOperatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the patch baseline override.
operatingSystem
- The operating system rule used by the patch baseline override.OperatingSystem
public void setGlobalFilters(PatchFilterGroup globalFilters)
globalFilters
- public PatchFilterGroup getGlobalFilters()
public BaselineOverride withGlobalFilters(PatchFilterGroup globalFilters)
globalFilters
- public void setApprovalRules(PatchRuleGroup approvalRules)
approvalRules
- public PatchRuleGroup getApprovalRules()
public BaselineOverride withApprovalRules(PatchRuleGroup approvalRules)
approvalRules
- public List<String> getApprovedPatches()
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public BaselineOverride withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setApprovedPatches(java.util.Collection)
or withApprovedPatches(java.util.Collection)
if you
want to override the existing values.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public BaselineOverride withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation.PatchComplianceLevel
public String getApprovedPatchesComplianceLevel()
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
PatchComplianceLevel
public BaselineOverride withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation.PatchComplianceLevel
public BaselineOverride withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation.PatchComplianceLevel
public List<String> getRejectedPatches()
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public BaselineOverride withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setRejectedPatches(java.util.Collection)
or withRejectedPatches(java.util.Collection)
if you
want to override the existing values.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public BaselineOverride withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can
be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it
as a dependency.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list. A
patch can be allowed only if it is a dependency of another package, or blocked entirely along with
packages that include it as a dependency.PatchAction
public String getRejectedPatchesAction()
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can
be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it
as a dependency.
RejectedPackages
list. A
patch can be allowed only if it is a dependency of another package, or blocked entirely along with
packages that include it as a dependency.PatchAction
public BaselineOverride withRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can
be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it
as a dependency.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list. A
patch can be allowed only if it is a dependency of another package, or blocked entirely along with
packages that include it as a dependency.PatchAction
public BaselineOverride withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can
be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it
as a dependency.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list. A
patch can be allowed only if it is a dependency of another package, or blocked entirely along with
packages that include it as a dependency.PatchAction
public void setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.public Boolean getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.
false
. Applies to Linux managed nodes only.public BaselineOverride withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.public Boolean isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false
. Applies to Linux managed nodes only.
false
. Applies to Linux managed nodes only.public List<PatchSource> getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
public void setSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sources
- Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public BaselineOverride withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public BaselineOverride withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sources
- Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public String toString()
toString
in class Object
Object.toString()
public BaselineOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.