public static interface UpdatePatchBaselineRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<UpdatePatchBaselineRequest.Builder,UpdatePatchBaselineRequest>
Modifier and Type | Method and Description |
---|---|
default UpdatePatchBaselineRequest.Builder |
approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
|
UpdatePatchBaselineRequest.Builder |
approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
UpdatePatchBaselineRequest.Builder |
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineRequest.Builder |
approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineRequest.Builder |
approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
|
UpdatePatchBaselineRequest.Builder |
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
|
UpdatePatchBaselineRequest.Builder |
approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
UpdatePatchBaselineRequest.Builder |
baselineId(String baselineId)
The ID of the patch baseline to update.
|
UpdatePatchBaselineRequest.Builder |
description(String description)
A description of the patch baseline.
|
default UpdatePatchBaselineRequest.Builder |
globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to include patches in the baseline.
|
UpdatePatchBaselineRequest.Builder |
globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
|
UpdatePatchBaselineRequest.Builder |
name(String name)
The name of the patch baseline.
|
UpdatePatchBaselineRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdatePatchBaselineRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdatePatchBaselineRequest.Builder |
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineRequest.Builder |
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineRequest.Builder |
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
|
UpdatePatchBaselineRequest.Builder |
rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
|
UpdatePatchBaselineRequest.Builder |
replace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API
request.
|
UpdatePatchBaselineRequest.Builder |
sources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
UpdatePatchBaselineRequest.Builder |
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
UpdatePatchBaselineRequest.Builder |
sources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdatePatchBaselineRequest.Builder baselineId(String baselineId)
The ID of the patch baseline to update.
baselineId
- The ID of the patch baseline to update.UpdatePatchBaselineRequest.Builder name(String name)
The name of the patch baseline.
name
- The name of the patch baseline.UpdatePatchBaselineRequest.Builder globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
globalFilters
- A set of global filters used to include patches in the baseline.default UpdatePatchBaselineRequest.Builder globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to include patches in the baseline.
This is a convenience that creates an instance of thePatchFilterGroup.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)
UpdatePatchBaselineRequest.Builder approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
approvalRules
- A set of rules used to include patches in the baseline.default UpdatePatchBaselineRequest.Builder approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
This is a convenience that creates an instance of thePatchRuleGroup.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)
UpdatePatchBaselineRequest.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 AWS 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 AWS Systems Manager User Guide.
UpdatePatchBaselineRequest.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 AWS 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 AWS Systems Manager User Guide.
UpdatePatchBaselineRequest.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
,
PatchComplianceLevel
UpdatePatchBaselineRequest.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
,
PatchComplianceLevel
UpdatePatchBaselineRequest.Builder approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances only.
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to
the instances. The default value is 'false'. Applies to Linux instances only.UpdatePatchBaselineRequest.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 AWS 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 AWS Systems Manager User Guide.
UpdatePatchBaselineRequest.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 AWS 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 AWS Systems Manager User Guide.
UpdatePatchBaselineRequest.Builder rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
PatchAction
,
PatchAction
UpdatePatchBaselineRequest.Builder rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
PatchAction
,
PatchAction
UpdatePatchBaselineRequest.Builder description(String description)
A description of the patch baseline.
description
- A description of the patch baseline.UpdatePatchBaselineRequest.Builder sources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
sources
- Information about the patches to use to update the instances, including target operating systems and
source repositories. Applies to Linux instances only.UpdatePatchBaselineRequest.Builder sources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
sources
- Information about the patches to use to update the instances, including target operating systems and
source repositories. Applies to Linux instances only.UpdatePatchBaselineRequest.Builder sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #sources(List)
.sources
- a consumer that will call methods on List.Builder
#sources(List)
UpdatePatchBaselineRequest.Builder replace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreatePatchBaseline action are also required for
this API request. Optional fields that are not specified are set to null.UpdatePatchBaselineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdatePatchBaselineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.