public static interface GetPatchBaselineResponse.Builder extends SsmResponse.Builder, 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 |
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.
|
build
sdkHttpResponse, sdkHttpResponse
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 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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.