Interface BaselineOverride.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BaselineOverride.Builder,
,BaselineOverride> SdkBuilder<BaselineOverride.Builder,
,BaselineOverride> SdkPojo
- Enclosing class:
BaselineOverride
-
Method Summary
Modifier and TypeMethodDescriptiondefault BaselineOverride.Builder
approvalRules
(Consumer<PatchRuleGroup.Builder> approvalRules) Sets the value of the ApprovalRules property for this object.approvalRules
(PatchRuleGroup approvalRules) Sets the value of the ApprovalRules property for this object.approvedPatches
(String... approvedPatches) A list of explicitly approved patches for the baseline.approvedPatches
(Collection<String> approvedPatches) A list of explicitly approved patches for the baseline.approvedPatchesComplianceLevel
(String approvedPatchesComplianceLevel) Defines the compliance level for approved patches.approvedPatchesComplianceLevel
(PatchComplianceLevel approvedPatchesComplianceLevel) Defines the compliance level for approved patches.approvedPatchesEnableNonSecurity
(Boolean approvedPatchesEnableNonSecurity) Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes.availableSecurityUpdatesComplianceStatus
(String availableSecurityUpdatesComplianceStatus) Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined asCOMPLIANT
orNON_COMPLIANT
.availableSecurityUpdatesComplianceStatus
(PatchComplianceStatus availableSecurityUpdatesComplianceStatus) Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined asCOMPLIANT
orNON_COMPLIANT
.default BaselineOverride.Builder
globalFilters
(Consumer<PatchFilterGroup.Builder> globalFilters) Sets the value of the GlobalFilters property for this object.globalFilters
(PatchFilterGroup globalFilters) Sets the value of the GlobalFilters property for this object.operatingSystem
(String operatingSystem) The operating system rule used by the patch baseline override.operatingSystem
(OperatingSystem operatingSystem) The operating system rule used by the patch baseline override.rejectedPatches
(String... rejectedPatches) A list of explicitly rejected patches for the baseline.rejectedPatches
(Collection<String> rejectedPatches) A list of explicitly rejected patches for the baseline.rejectedPatchesAction
(String rejectedPatchesAction) The action for Patch Manager to take on patches included in theRejectedPackages
list.rejectedPatchesAction
(PatchAction rejectedPatchesAction) The action for Patch Manager to take on patches included in theRejectedPackages
list.sources
(Collection<PatchSource> sources) Information about the patches to use to update the managed nodes, including target operating systems and source repositories.sources
(Consumer<PatchSource.Builder>... sources) Information about the patches to use to update the managed nodes, including target operating systems and source repositories.sources
(PatchSource... sources) Information about the patches to use to update the managed nodes, including target operating systems and source repositories.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
operatingSystem
The operating system rule used by the patch baseline override.
- Parameters:
operatingSystem
- The operating system rule used by the patch baseline override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operatingSystem
The operating system rule used by the patch baseline override.
- Parameters:
operatingSystem
- The operating system rule used by the patch baseline override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
globalFilters
Sets the value of the GlobalFilters property for this object.- Parameters:
globalFilters
- The new value for the GlobalFilters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalFilters
Sets the value of the GlobalFilters property for this object. This is a convenience method that creates an instance of thePatchFilterGroup.Builder
avoiding the need to create one manually viaPatchFilterGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalFilters(PatchFilterGroup)
.- Parameters:
globalFilters
- a consumer that will call methods onPatchFilterGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvalRules
Sets the value of the ApprovalRules property for this object.- Parameters:
approvalRules
- The new value for the ApprovalRules property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalRules
Sets the value of the ApprovalRules property for this object. This is a convenience method that creates an instance of thePatchRuleGroup.Builder
avoiding the need to create one manually viaPatchRuleGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapprovalRules(PatchRuleGroup)
.- Parameters:
approvalRules
- a consumer that will call methods onPatchRuleGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvedPatches
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Parameters:
approvedPatches
- A list of explicitly approved patches for the baseline.For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvedPatches
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Parameters:
approvedPatches
- A list of explicitly approved patches for the baseline.For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvedPatchesComplianceLevel
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rejectedPatches
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Parameters:
rejectedPatches
- A list of explicitly rejected patches for the baseline.For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedPatches
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Parameters:
rejectedPatches
- A list of explicitly rejected patches for the baseline.For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
rejectedPatchesAction
- The action for Patch Manager to take on patches included in theRejectedPackages
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
rejectedPatchesAction
- The action for Patch Manager to take on patches included in theRejectedPackages
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value isfalse
. Applies to Linux managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPatchSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<PatchSource>)
.- Parameters:
sources
- a consumer that will call methods onPatchSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availableSecurityUpdatesComplianceStatus
BaselineOverride.Builder availableSecurityUpdatesComplianceStatus(String availableSecurityUpdatesComplianceStatus) Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as
COMPLIANT
orNON_COMPLIANT
. This option is specified when theCreatePatchBaseline
orUpdatePatchBaseline
commands are run.Applies to Windows Server managed nodes only.
- Parameters:
availableSecurityUpdatesComplianceStatus
- Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined asCOMPLIANT
orNON_COMPLIANT
. This option is specified when theCreatePatchBaseline
orUpdatePatchBaseline
commands are run.Applies to Windows Server managed nodes only.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availableSecurityUpdatesComplianceStatus
BaselineOverride.Builder availableSecurityUpdatesComplianceStatus(PatchComplianceStatus availableSecurityUpdatesComplianceStatus) Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as
COMPLIANT
orNON_COMPLIANT
. This option is specified when theCreatePatchBaseline
orUpdatePatchBaseline
commands are run.Applies to Windows Server managed nodes only.
- Parameters:
availableSecurityUpdatesComplianceStatus
- Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined asCOMPLIANT
orNON_COMPLIANT
. This option is specified when theCreatePatchBaseline
orUpdatePatchBaseline
commands are run.Applies to Windows Server managed nodes only.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-