public static interface BaselineOverride.Builder extends SdkPojo, CopyableBuilder<BaselineOverride.Builder,BaselineOverride>
Modifier and Type | Method and Description |
---|---|
default BaselineOverride.Builder |
approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
Sets the value of the ApprovalRules property for this object.
|
BaselineOverride.Builder |
approvalRules(PatchRuleGroup approvalRules)
Sets the value of the ApprovalRules property for this object.
|
BaselineOverride.Builder |
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
BaselineOverride.Builder |
approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
BaselineOverride.Builder |
approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
BaselineOverride.Builder |
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
BaselineOverride.Builder |
approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
default BaselineOverride.Builder |
globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
Sets the value of the GlobalFilters property for this object.
|
BaselineOverride.Builder |
globalFilters(PatchFilterGroup globalFilters)
Sets the value of the GlobalFilters property for this object.
|
BaselineOverride.Builder |
operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the patch baseline override.
|
BaselineOverride.Builder |
operatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
|
BaselineOverride.Builder |
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
BaselineOverride.Builder |
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
BaselineOverride.Builder |
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
BaselineOverride.Builder |
rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
BaselineOverride.Builder |
sources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and
source repositories.
|
BaselineOverride.Builder |
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the managed nodes, including target operating systems and
source repositories.
|
BaselineOverride.Builder |
sources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and
source repositories.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
BaselineOverride.Builder operatingSystem(String operatingSystem)
The operating system rule used by the patch baseline override.
operatingSystem
- The operating system rule used by the patch baseline override.OperatingSystem
,
OperatingSystem
BaselineOverride.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the patch baseline override.
operatingSystem
- The operating system rule used by the patch baseline override.OperatingSystem
,
OperatingSystem
BaselineOverride.Builder globalFilters(PatchFilterGroup globalFilters)
globalFilters
- The new value for the GlobalFilters property for this object.default BaselineOverride.Builder globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
PatchFilterGroup.Builder
avoiding the
need to create one manually via PatchFilterGroup.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to globalFilters(PatchFilterGroup)
.
globalFilters
- a consumer that will call methods on PatchFilterGroup.Builder
globalFilters(PatchFilterGroup)
BaselineOverride.Builder approvalRules(PatchRuleGroup approvalRules)
approvalRules
- The new value for the ApprovalRules property for this object.default BaselineOverride.Builder approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
PatchRuleGroup.Builder
avoiding the need
to create one manually via PatchRuleGroup.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to approvalRules(PatchRuleGroup)
.
approvalRules
- a consumer that will call methods on PatchRuleGroup.Builder
approvalRules(PatchRuleGroup)
BaselineOverride.Builder approvedPatches(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.
BaselineOverride.Builder approvedPatches(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.
BaselineOverride.Builder approvedPatchesComplianceLevel(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
,
PatchComplianceLevel
BaselineOverride.Builder approvedPatchesComplianceLevel(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
,
PatchComplianceLevel
BaselineOverride.Builder rejectedPatches(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.
BaselineOverride.Builder rejectedPatches(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.
BaselineOverride.Builder rejectedPatchesAction(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
,
PatchAction
BaselineOverride.Builder rejectedPatchesAction(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
,
PatchAction
BaselineOverride.Builder approvedPatchesEnableNonSecurity(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.BaselineOverride.Builder sources(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.BaselineOverride.Builder sources(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.BaselineOverride.Builder sources(Consumer<PatchSource.Builder>... 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.
This is a convenience method that creates an instance of thePatchSource.Builder
avoiding the need to create one
manually via PatchSource.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #sources(List
.
sources
- a consumer that will call methods on
PatchSource.Builder
#sources(java.util.Collection)
Copyright © 2023. All rights reserved.