Class CfnPatchBaseline.RuleGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnPatchBaseline.RuleGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPatchBaseline.RuleGroupProperty>
- Enclosing interface:
CfnPatchBaseline.RuleGroupProperty
@Stability(Stable)
public static final class CfnPatchBaseline.RuleGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPatchBaseline.RuleGroupProperty>
A builder for
CfnPatchBaseline.RuleGroupProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.patchRules
(List<? extends Object> patchRules) Sets the value ofCfnPatchBaseline.RuleGroupProperty.getPatchRules()
patchRules
(IResolvable patchRules) Sets the value ofCfnPatchBaseline.RuleGroupProperty.getPatchRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
patchRules
@Stability(Stable) public CfnPatchBaseline.RuleGroupProperty.Builder patchRules(IResolvable patchRules) Sets the value ofCfnPatchBaseline.RuleGroupProperty.getPatchRules()
- Parameters:
patchRules
- The rules that make up the rule group.- Returns:
this
-
patchRules
@Stability(Stable) public CfnPatchBaseline.RuleGroupProperty.Builder patchRules(List<? extends Object> patchRules) Sets the value ofCfnPatchBaseline.RuleGroupProperty.getPatchRules()
- Parameters:
patchRules
- The rules that make up the rule group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPatchBaseline.RuleGroupProperty>
- Returns:
- a new instance of
CfnPatchBaseline.RuleGroupProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-