Interface UpdatePatchBaselineResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePatchBaselineResponse.Builder,UpdatePatchBaselineResponse>,SdkBuilder<UpdatePatchBaselineResponse.Builder,UpdatePatchBaselineResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- UpdatePatchBaselineResponse
public static interface UpdatePatchBaselineResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdatePatchBaselineResponse.Builder,UpdatePatchBaselineResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdatePatchBaselineResponse.BuilderapprovalRules(Consumer<PatchRuleGroup.Builder> approvalRules)A set of rules used to include patches in the baseline.UpdatePatchBaselineResponse.BuilderapprovalRules(PatchRuleGroup approvalRules)A set of rules used to include patches in the baseline.UpdatePatchBaselineResponse.BuilderapprovedPatches(String... approvedPatches)A list of explicitly approved patches for the baseline.UpdatePatchBaselineResponse.BuilderapprovedPatches(Collection<String> approvedPatches)A list of explicitly approved patches for the baseline.UpdatePatchBaselineResponse.BuilderapprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)The compliance severity level assigned to the patch baseline after the update completed.UpdatePatchBaselineResponse.BuilderapprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)The compliance severity level assigned to the patch baseline after the update completed.UpdatePatchBaselineResponse.BuilderapprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes.UpdatePatchBaselineResponse.BuilderbaselineId(String baselineId)The ID of the deleted patch baseline.UpdatePatchBaselineResponse.BuildercreatedDate(Instant createdDate)The date when the patch baseline was created.UpdatePatchBaselineResponse.Builderdescription(String description)A description of the patch baseline.default UpdatePatchBaselineResponse.BuilderglobalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)A set of global filters used to exclude patches from the baseline.UpdatePatchBaselineResponse.BuilderglobalFilters(PatchFilterGroup globalFilters)A set of global filters used to exclude patches from the baseline.UpdatePatchBaselineResponse.BuildermodifiedDate(Instant modifiedDate)The date when the patch baseline was last modified.UpdatePatchBaselineResponse.Buildername(String name)The name of the patch baseline.UpdatePatchBaselineResponse.BuilderoperatingSystem(String operatingSystem)The operating system rule used by the updated patch baseline.UpdatePatchBaselineResponse.BuilderoperatingSystem(OperatingSystem operatingSystem)The operating system rule used by the updated patch baseline.UpdatePatchBaselineResponse.BuilderrejectedPatches(String... rejectedPatches)A list of explicitly rejected patches for the baseline.UpdatePatchBaselineResponse.BuilderrejectedPatches(Collection<String> rejectedPatches)A list of explicitly rejected patches for the baseline.UpdatePatchBaselineResponse.BuilderrejectedPatchesAction(String rejectedPatchesAction)The action specified to take on patches included in theRejectedPatcheslist.UpdatePatchBaselineResponse.BuilderrejectedPatchesAction(PatchAction rejectedPatchesAction)The action specified to take on patches included in theRejectedPatcheslist.UpdatePatchBaselineResponse.Buildersources(Collection<PatchSource> sources)Information about the patches to use to update the managed nodes, including target operating systems and source repositories.UpdatePatchBaselineResponse.Buildersources(Consumer<PatchSource.Builder>... sources)Information about the patches to use to update the managed nodes, including target operating systems and source repositories.UpdatePatchBaselineResponse.Buildersources(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, sdkFieldNameToField, 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
UpdatePatchBaselineResponse.Builder baselineId(String baselineId)
The ID of the deleted patch baseline.
- Parameters:
baselineId- The ID of the deleted patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.Builder operatingSystem(String operatingSystem)
The operating system rule used by the updated patch baseline.
- Parameters:
operatingSystem- The operating system rule used by the updated patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem,OperatingSystem
-
operatingSystem
UpdatePatchBaselineResponse.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system rule used by the updated patch baseline.
- Parameters:
operatingSystem- The operating system rule used by the updated patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem,OperatingSystem
-
globalFilters
UpdatePatchBaselineResponse.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 UpdatePatchBaselineResponse.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.Builderavoiding the need to create one manually viaPatchFilterGroup.builder().When the
Consumercompletes,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
UpdatePatchBaselineResponse.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 UpdatePatchBaselineResponse.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.Builderavoiding the need to create one manually viaPatchRuleGroup.builder().When the
Consumercompletes,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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
- Parameters:
approvedPatchesComplianceLevel- The compliance severity level assigned to the patch baseline after the update completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchComplianceLevel,PatchComplianceLevel
-
approvedPatchesComplianceLevel
UpdatePatchBaselineResponse.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
The compliance severity level assigned to the patch baseline after the update completed.
- Parameters:
approvedPatchesComplianceLevel- The compliance severity level assigned to the patch baseline after the update completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PatchComplianceLevel,PatchComplianceLevel
-
approvedPatchesEnableNonSecurity
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.Builder rejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatcheslist. 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 theRejectedPatcheslist. 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
UpdatePatchBaselineResponse.Builder rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatcheslist. 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 theRejectedPatcheslist. 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
-
createdDate
UpdatePatchBaselineResponse.Builder createdDate(Instant createdDate)
The date when the patch baseline was created.
- Parameters:
createdDate- The date when the patch baseline was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedDate
UpdatePatchBaselineResponse.Builder modifiedDate(Instant modifiedDate)
The date when the patch baseline was last modified.
- Parameters:
modifiedDate- The date when the patch baseline was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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
UpdatePatchBaselineResponse.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.Builderavoiding the need to create one manually viaPatchSource.builder().When the
Consumercompletes,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)
-
-