Interface GetPatchBaselineResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPatchBaselineResponse.Builder,GetPatchBaselineResponse>
,SdkBuilder<GetPatchBaselineResponse.Builder,GetPatchBaselineResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- GetPatchBaselineResponse
public static interface GetPatchBaselineResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetPatchBaselineResponse.Builder,GetPatchBaselineResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String... approvedPatches)
A list of explicitly approved patches for the baseline.GetPatchBaselineResponse.Builder
approvedPatches(Collection<String> 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.GetPatchBaselineResponse.Builder
approvedPatchesComplianceLevel(PatchComplianceLevel 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 managed nodes.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(String operatingSystem)
Returns the operating system specified for the patch baseline.GetPatchBaselineResponse.Builder
operatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.GetPatchBaselineResponse.Builder
patchGroups(String... patchGroups)
Patch groups included in the patch baseline.GetPatchBaselineResponse.Builder
patchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.GetPatchBaselineResponse.Builder
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.GetPatchBaselineResponse.Builder
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.GetPatchBaselineResponse.Builder
rejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in theRejectedPatches
list.GetPatchBaselineResponse.Builder
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in theRejectedPatches
list.GetPatchBaselineResponse.Builder
sources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories.GetPatchBaselineResponse.Builder
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories.GetPatchBaselineResponse.Builder
sources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
baselineId
GetPatchBaselineResponse.Builder baselineId(String baselineId)
The ID of the retrieved patch baseline.
- Parameters:
baselineId
- The ID of the retrieved patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetPatchBaselineResponse.Builder name(String name)
The name of the patch baseline.
- Parameters:
name
- The name of the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
GetPatchBaselineResponse.Builder operatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
- Parameters:
operatingSystem
- Returns the operating system specified for the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem
,OperatingSystem
-
operatingSystem
GetPatchBaselineResponse.Builder operatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
- Parameters:
operatingSystem
- Returns the operating system specified for the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem
,OperatingSystem
-
globalFilters
GetPatchBaselineResponse.Builder globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
- Parameters:
globalFilters
- A set of global filters used to exclude patches from the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalFilters
default GetPatchBaselineResponse.Builder globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to exclude patches from the baseline.
This is a convenience method that creates an instance of thePatchFilterGroup.Builder
avoiding the need to create one manually viaPatchFilterGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalFilters(PatchFilterGroup)
.- Parameters:
globalFilters
- a consumer that will call methods onPatchFilterGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
globalFilters(PatchFilterGroup)
-
approvalRules
GetPatchBaselineResponse.Builder approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
- Parameters:
approvalRules
- A set of rules used to include patches in the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalRules
default GetPatchBaselineResponse.Builder approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
This is a convenience method that creates an instance of thePatchRuleGroup.Builder
avoiding the need to create one manually viaPatchRuleGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapprovalRules(PatchRuleGroup)
.- Parameters:
approvalRules
- a consumer that will call methods onPatchRuleGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
approvalRules(PatchRuleGroup)
-
approvedPatches
GetPatchBaselineResponse.Builder approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
- Parameters:
approvedPatches
- A list of explicitly approved patches for the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvedPatches
GetPatchBaselineResponse.Builder approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
- Parameters:
approvedPatches
- A list of explicitly approved patches for the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvedPatchesComplianceLevel
GetPatchBaselineResponse.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
- Parameters:
approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchComplianceLevel
,PatchComplianceLevel
-
approvedPatchesComplianceLevel
GetPatchBaselineResponse.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
- Parameters:
approvedPatchesComplianceLevel
- Returns the specified compliance severity level for approved patches in the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchComplianceLevel
,PatchComplianceLevel
-
approvedPatchesEnableNonSecurity
GetPatchBaselineResponse.Builder approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is
false
. Applies to Linux managed nodes only.- Parameters:
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value isfalse
. Applies to Linux managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedPatches
GetPatchBaselineResponse.Builder rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
- Parameters:
rejectedPatches
- A list of explicitly rejected patches for the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedPatches
GetPatchBaselineResponse.Builder rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
- Parameters:
rejectedPatches
- A list of explicitly rejected patches for the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedPatchesAction
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.- Parameters:
rejectedPatchesAction
- The action specified to take on patches included in theRejectedPatches
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchAction
,PatchAction
-
rejectedPatchesAction
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.- Parameters:
rejectedPatchesAction
- The action specified to take on patches included in theRejectedPatches
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchAction
,PatchAction
-
patchGroups
GetPatchBaselineResponse.Builder patchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
- Parameters:
patchGroups
- Patch groups included in the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchGroups
GetPatchBaselineResponse.Builder patchGroups(String... patchGroups)
Patch groups included in the patch baseline.
- Parameters:
patchGroups
- Patch groups included in the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
GetPatchBaselineResponse.Builder createdDate(Instant createdDate)
The date the patch baseline was created.
- Parameters:
createdDate
- The date the patch baseline was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedDate
GetPatchBaselineResponse.Builder modifiedDate(Instant modifiedDate)
The date the patch baseline was last modified.
- Parameters:
modifiedDate
- The date the patch baseline was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetPatchBaselineResponse.Builder description(String description)
A description of the patch baseline.
- Parameters:
description
- A description of the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
GetPatchBaselineResponse.Builder sources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
- Parameters:
sources
- Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
GetPatchBaselineResponse.Builder sources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
- Parameters:
sources
- Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
GetPatchBaselineResponse.Builder sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
This is a convenience method that creates an instance of thePatchSource.Builder
avoiding the need to create one manually viaPatchSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#sources(List
.) - Parameters:
sources
- a consumer that will call methods onPatchSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sources(java.util.Collection
)
-
-