Class CfnEnabledBaselineProps.Builder
java.lang.Object
software.amazon.awscdk.services.controltower.CfnEnabledBaselineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledBaselineProps>
- Enclosing interface:
CfnEnabledBaselineProps
@Stability(Stable)
public static final class CfnEnabledBaselineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledBaselineProps>
A builder for
CfnEnabledBaselineProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbaselineIdentifier
(String baselineIdentifier) Sets the value ofCfnEnabledBaselineProps.getBaselineIdentifier()
baselineVersion
(String baselineVersion) Sets the value ofCfnEnabledBaselineProps.getBaselineVersion()
build()
Builds the configured instance.parameters
(List<? extends Object> parameters) Sets the value ofCfnEnabledBaselineProps.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnEnabledBaselineProps.getParameters()
Sets the value ofCfnEnabledBaselineProps.getTags()
targetIdentifier
(String targetIdentifier) Sets the value ofCfnEnabledBaselineProps.getTargetIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baselineIdentifier
@Stability(Stable) public CfnEnabledBaselineProps.Builder baselineIdentifier(String baselineIdentifier) Sets the value ofCfnEnabledBaselineProps.getBaselineIdentifier()
- Parameters:
baselineIdentifier
- The specificBaseline
enabled as part of theEnabledBaseline
resource. This parameter is required.- Returns:
this
-
baselineVersion
Sets the value ofCfnEnabledBaselineProps.getBaselineVersion()
- Parameters:
baselineVersion
- The enabled version of theBaseline
. This parameter is required.- Returns:
this
-
targetIdentifier
Sets the value ofCfnEnabledBaselineProps.getTargetIdentifier()
- Parameters:
targetIdentifier
- The target on which to enable theBaseline
. This parameter is required.- Returns:
this
-
parameters
Sets the value ofCfnEnabledBaselineProps.getParameters()
- Parameters:
parameters
- Parameters that are applied when enabling thisBaseline
. These parameters configure the behavior of the baseline.- Returns:
this
-
parameters
@Stability(Stable) public CfnEnabledBaselineProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledBaselineProps.getParameters()
- Parameters:
parameters
- Parameters that are applied when enabling thisBaseline
. These parameters configure the behavior of the baseline.- Returns:
this
-
tags
Sets the value ofCfnEnabledBaselineProps.getTags()
- Parameters:
tags
- Tags associated with input toEnableBaseline
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnabledBaselineProps>
- Returns:
- a new instance of
CfnEnabledBaselineProps
- Throws:
NullPointerException
- if any required attribute was not provided
-