Class CfnPatchBaseline.PatchFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnPatchBaseline.PatchFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPatchBaseline.PatchFilterProperty>
- Enclosing interface:
CfnPatchBaseline.PatchFilterProperty
@Stability(Stable)
public static final class CfnPatchBaseline.PatchFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPatchBaseline.PatchFilterProperty>
A builder for
CfnPatchBaseline.PatchFilterProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPatchBaseline.PatchFilterProperty.getKey()
Sets the value ofCfnPatchBaseline.PatchFilterProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnPatchBaseline.PatchFilterProperty.getKey()
- Parameters:
key
- The key for the filter. For information about valid keys, see PatchFilter in the AWS Systems Manager API Reference .- Returns:
this
-
values
Sets the value ofCfnPatchBaseline.PatchFilterProperty.getValues()
- Parameters:
values
- The value for the filter key. For information about valid values for each key based on operating system type, see PatchFilter in the AWS Systems Manager API Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPatchBaseline.PatchFilterProperty>
- Returns:
- a new instance of
CfnPatchBaseline.PatchFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-