public static interface UpdatePatchBaselineRequest.Builder extends SsmRequest.Builder, 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 |
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 exclude patches from the baseline.
|
UpdatePatchBaselineRequest.Builder |
globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
UpdatePatchBaselineRequest.Builder |
name(String name)
The name of the patch baseline.
|
UpdatePatchBaselineRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdatePatchBaselineRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
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 exclude patches from the baseline.
globalFilters
- A set of global filters used to exclude patches from the baseline.default UpdatePatchBaselineRequest.Builder globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to exclude patches from 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.
approvedPatches
- A list of explicitly approved patches for the baseline.UpdatePatchBaselineRequest.Builder approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches
- A list of explicitly approved patches for the baseline.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 rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.UpdatePatchBaselineRequest.Builder rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.UpdatePatchBaselineRequest.Builder description(String description)
A description of the patch baseline.
description
- A description of the patch baseline.UpdatePatchBaselineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdatePatchBaselineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.