public static interface UpdatePatchBaselineResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdatePatchBaselineResponse.Builder,UpdatePatchBaselineResponse>
Modifier and Type | Method and Description |
---|---|
default UpdatePatchBaselineResponse.Builder |
approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
|
UpdatePatchBaselineResponse.Builder |
approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
UpdatePatchBaselineResponse.Builder |
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineResponse.Builder |
approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineResponse.Builder |
approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
|
UpdatePatchBaselineResponse.Builder |
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
|
UpdatePatchBaselineResponse.Builder |
approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
UpdatePatchBaselineResponse.Builder |
baselineId(String baselineId)
The ID of the deleted patch baseline.
|
UpdatePatchBaselineResponse.Builder |
createdDate(Instant createdDate)
The date when the patch baseline was created.
|
UpdatePatchBaselineResponse.Builder |
description(String description)
A description of the Patch Baseline.
|
default UpdatePatchBaselineResponse.Builder |
globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to exclude patches from the baseline.
|
UpdatePatchBaselineResponse.Builder |
globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
UpdatePatchBaselineResponse.Builder |
modifiedDate(Instant modifiedDate)
The date when the patch baseline was last modified.
|
UpdatePatchBaselineResponse.Builder |
name(String name)
The name of the patch baseline.
|
UpdatePatchBaselineResponse.Builder |
operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the updated patch baseline.
|
UpdatePatchBaselineResponse.Builder |
operatingSystem(String operatingSystem)
The operating system rule used by the updated patch baseline.
|
UpdatePatchBaselineResponse.Builder |
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineResponse.Builder |
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineResponse.Builder |
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list.
|
UpdatePatchBaselineResponse.Builder |
rejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list.
|
UpdatePatchBaselineResponse.Builder |
sources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
UpdatePatchBaselineResponse.Builder |
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
UpdatePatchBaselineResponse.Builder |
sources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdatePatchBaselineResponse.Builder baselineId(String baselineId)
The ID of the deleted patch baseline.
baselineId
- The ID of the deleted patch baseline.UpdatePatchBaselineResponse.Builder name(String name)
The name of the patch baseline.
name
- The name of the patch baseline.UpdatePatchBaselineResponse.Builder operatingSystem(String operatingSystem)
The operating system rule used by the updated patch baseline.
operatingSystem
- The operating system rule used by the updated patch baseline.OperatingSystem
,
OperatingSystem
UpdatePatchBaselineResponse.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the updated patch baseline.
operatingSystem
- The operating system rule used by the updated patch baseline.OperatingSystem
,
OperatingSystem
UpdatePatchBaselineResponse.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 UpdatePatchBaselineResponse.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)
UpdatePatchBaselineResponse.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 UpdatePatchBaselineResponse.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)
UpdatePatchBaselineResponse.Builder approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches
- A list of explicitly approved patches for the baseline.UpdatePatchBaselineResponse.Builder approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches
- A list of explicitly approved patches for the baseline.UpdatePatchBaselineResponse.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
approvedPatchesComplianceLevel
- The compliance severity level assigned to the patch baseline after the update completed.PatchComplianceLevel
,
PatchComplianceLevel
UpdatePatchBaselineResponse.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
approvedPatchesComplianceLevel
- The compliance severity level assigned to the patch baseline after the update completed.PatchComplianceLevel
,
PatchComplianceLevel
UpdatePatchBaselineResponse.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.UpdatePatchBaselineResponse.Builder rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.UpdatePatchBaselineResponse.Builder rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.UpdatePatchBaselineResponse.Builder rejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches 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 specified to take on patches included in the RejectedPatches 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
UpdatePatchBaselineResponse.Builder rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches 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 specified to take on patches included in the RejectedPatches 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
UpdatePatchBaselineResponse.Builder createdDate(Instant createdDate)
The date when the patch baseline was created.
createdDate
- The date when the patch baseline was created.UpdatePatchBaselineResponse.Builder modifiedDate(Instant modifiedDate)
The date when the patch baseline was last modified.
modifiedDate
- The date when the patch baseline was last modified.UpdatePatchBaselineResponse.Builder description(String description)
A description of the Patch Baseline.
description
- A description of the Patch Baseline.UpdatePatchBaselineResponse.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.UpdatePatchBaselineResponse.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.UpdatePatchBaselineResponse.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)
Copyright © 2020. All rights reserved.