public static interface CreatePatchBaselineRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CreatePatchBaselineRequest.Builder,CreatePatchBaselineRequest>
Modifier and Type | Method and Description |
---|---|
default CreatePatchBaselineRequest.Builder |
approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
A set of rules used to include patches in the baseline.
|
CreatePatchBaselineRequest.Builder |
approvalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
CreatePatchBaselineRequest.Builder |
approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest.Builder |
approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest.Builder |
approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
CreatePatchBaselineRequest.Builder |
approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
CreatePatchBaselineRequest.Builder |
approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
CreatePatchBaselineRequest.Builder |
clientToken(String clientToken)
User-provided idempotency token.
|
CreatePatchBaselineRequest.Builder |
description(String description)
A description of the patch baseline.
|
default CreatePatchBaselineRequest.Builder |
globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
A set of global filters used to exclude patches from the baseline.
|
CreatePatchBaselineRequest.Builder |
globalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
CreatePatchBaselineRequest.Builder |
name(String name)
The name of the patch baseline.
|
CreatePatchBaselineRequest.Builder |
operatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to.
|
CreatePatchBaselineRequest.Builder |
operatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to.
|
CreatePatchBaselineRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreatePatchBaselineRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreatePatchBaselineRequest.Builder |
rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
CreatePatchBaselineRequest.Builder |
rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
CreatePatchBaselineRequest.Builder |
rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
|
CreatePatchBaselineRequest.Builder |
rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
|
CreatePatchBaselineRequest.Builder |
sources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
CreatePatchBaselineRequest.Builder |
sources(Consumer<PatchSource.Builder>... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
CreatePatchBaselineRequest.Builder |
sources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
build
overrideConfiguration
copy
applyMutation, build
CreatePatchBaselineRequest.Builder operatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
,
OperatingSystem
CreatePatchBaselineRequest.Builder operatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
,
OperatingSystem
CreatePatchBaselineRequest.Builder name(String name)
The name of the patch baseline.
name
- The name of the patch baseline.CreatePatchBaselineRequest.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 CreatePatchBaselineRequest.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)
CreatePatchBaselineRequest.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 CreatePatchBaselineRequest.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)
CreatePatchBaselineRequest.Builder approvedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
CreatePatchBaselineRequest.Builder approvedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
CreatePatchBaselineRequest.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.PatchComplianceLevel
,
PatchComplianceLevel
CreatePatchBaselineRequest.Builder approvedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.PatchComplianceLevel
,
PatchComplianceLevel
CreatePatchBaselineRequest.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.CreatePatchBaselineRequest.Builder rejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
CreatePatchBaselineRequest.Builder rejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
CreatePatchBaselineRequest.Builder rejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
PatchAction
,
PatchAction
CreatePatchBaselineRequest.Builder rejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages list.
ALLOW_AS_DEPENDENCY: A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.
BLOCK: Packages in the RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
PatchAction
,
PatchAction
CreatePatchBaselineRequest.Builder description(String description)
A description of the patch baseline.
description
- A description of the patch baseline.CreatePatchBaselineRequest.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.CreatePatchBaselineRequest.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.CreatePatchBaselineRequest.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)
CreatePatchBaselineRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken
- User-provided idempotency token.CreatePatchBaselineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreatePatchBaselineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.