Interface BaselineOverride.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BaselineOverride.Builder,BaselineOverride>
,SdkBuilder<BaselineOverride.Builder,BaselineOverride>
,SdkPojo
- Enclosing class:
- BaselineOverride
public static interface BaselineOverride.Builder extends SdkPojo, CopyableBuilder<BaselineOverride.Builder,BaselineOverride>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String... approvedPatches)
A list of explicitly approved patches for the baseline.BaselineOverride.Builder
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.BaselineOverride.Builder
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.BaselineOverride.Builder
approvedPatchesComplianceLevel(PatchComplianceLevel 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(String operatingSystem)
The operating system rule used by the patch baseline override.BaselineOverride.Builder
operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the patch baseline override.BaselineOverride.Builder
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.BaselineOverride.Builder
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.BaselineOverride.Builder
rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in theRejectedPackages
list.BaselineOverride.Builder
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in theRejectedPackages
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.-
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, sdkFields
-
-
-
-
Method Detail
-
operatingSystem
BaselineOverride.Builder operatingSystem(String 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
,OperatingSystem
-
operatingSystem
BaselineOverride.Builder operatingSystem(OperatingSystem 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
,OperatingSystem
-
globalFilters
BaselineOverride.Builder globalFilters(PatchFilterGroup 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
default BaselineOverride.Builder globalFilters(Consumer<PatchFilterGroup.Builder> 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:
globalFilters(PatchFilterGroup)
-
approvalRules
BaselineOverride.Builder approvalRules(PatchRuleGroup 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
default BaselineOverride.Builder approvalRules(Consumer<PatchRuleGroup.Builder> 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:
approvalRules(PatchRuleGroup)
-
approvedPatches
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.
- 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 About 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
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.
- 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 About 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
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.
- 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:
PatchComplianceLevel
,PatchComplianceLevel
-
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:
PatchComplianceLevel
,PatchComplianceLevel
-
rejectedPatches
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.
- 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 About 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
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.
- 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 About 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
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.- 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:
PatchAction
,PatchAction
-
rejectedPatchesAction
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.- 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:
PatchAction
,PatchAction
-
approvedPatchesEnableNonSecurity
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.- 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
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.
- 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
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.
- 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
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 viaPatchSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#sources(List
.) - 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:
#sources(java.util.Collection
)
-
-