public static interface GetPatchBaselineResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetPatchBaselineResponse.Builder,GetPatchBaselineResponse>
Modifier and Type | Method and Description |
---|---|
default GetPatchBaselineResponse.Builder |
approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
|
GetPatchBaselineResponse.Builder |
approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
GetPatchBaselineResponse.Builder |
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
GetPatchBaselineResponse.Builder |
approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
GetPatchBaselineResponse.Builder |
approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
GetPatchBaselineResponse.Builder |
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
GetPatchBaselineResponse.Builder |
approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
GetPatchBaselineResponse.Builder |
baselineId(String baselineId)
The ID of the retrieved patch baseline.
|
GetPatchBaselineResponse.Builder |
createdDate(Instant createdDate)
The date the patch baseline was created.
|
GetPatchBaselineResponse.Builder |
description(String description)
A description of the patch baseline.
|
default GetPatchBaselineResponse.Builder |
globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to exclude patches from the baseline.
|
GetPatchBaselineResponse.Builder |
globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
GetPatchBaselineResponse.Builder |
modifiedDate(Instant modifiedDate)
The date the patch baseline was last modified.
|
GetPatchBaselineResponse.Builder |
name(String name)
The name of the patch baseline.
|
GetPatchBaselineResponse.Builder |
operatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
|
GetPatchBaselineResponse.Builder |
operatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
|
GetPatchBaselineResponse.Builder |
patchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
|
GetPatchBaselineResponse.Builder |
patchGroups(String... patchGroups)
Patch groups included in the patch baseline.
|
GetPatchBaselineResponse.Builder |
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
GetPatchBaselineResponse.Builder |
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
GetPatchBaselineResponse.Builder |
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list.
|
GetPatchBaselineResponse.Builder |
rejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list.
|
GetPatchBaselineResponse.Builder |
sources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
GetPatchBaselineResponse.Builder |
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
GetPatchBaselineResponse.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
GetPatchBaselineResponse.Builder baselineId(String baselineId)
The ID of the retrieved patch baseline.
baselineId
- The ID of the retrieved patch baseline.GetPatchBaselineResponse.Builder name(String name)
The name of the patch baseline.
name
- The name of the patch baseline.GetPatchBaselineResponse.Builder operatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem
- Returns the operating system specified for the patch baseline.OperatingSystem
,
OperatingSystem
GetPatchBaselineResponse.Builder operatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem
- Returns the operating system specified for the patch baseline.OperatingSystem
,
OperatingSystem
GetPatchBaselineResponse.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 GetPatchBaselineResponse.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)
GetPatchBaselineResponse.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 GetPatchBaselineResponse.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)
GetPatchBaselineResponse.Builder approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches
- A list of explicitly approved patches for the baseline.GetPatchBaselineResponse.Builder approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches
- A list of explicitly approved patches for the baseline.GetPatchBaselineResponse.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevel
,
PatchComplianceLevel
GetPatchBaselineResponse.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevel
,
PatchComplianceLevel
GetPatchBaselineResponse.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.GetPatchBaselineResponse.Builder rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.GetPatchBaselineResponse.Builder rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches
- A list of explicitly rejected patches for the baseline.GetPatchBaselineResponse.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
GetPatchBaselineResponse.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
GetPatchBaselineResponse.Builder patchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
patchGroups
- Patch groups included in the patch baseline.GetPatchBaselineResponse.Builder patchGroups(String... patchGroups)
Patch groups included in the patch baseline.
patchGroups
- Patch groups included in the patch baseline.GetPatchBaselineResponse.Builder createdDate(Instant createdDate)
The date the patch baseline was created.
createdDate
- The date the patch baseline was created.GetPatchBaselineResponse.Builder modifiedDate(Instant modifiedDate)
The date the patch baseline was last modified.
modifiedDate
- The date the patch baseline was last modified.GetPatchBaselineResponse.Builder description(String description)
A description of the patch baseline.
description
- A description of the patch baseline.GetPatchBaselineResponse.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.GetPatchBaselineResponse.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.GetPatchBaselineResponse.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.