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
Constructors -
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 specificBaselineenabled as part of theEnabledBaselineresource. 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- Shows the parameters that are applied when enabling thisBaseline.- Returns:
this
-
parameters
@Stability(Stable) public CfnEnabledBaselineProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledBaselineProps.getParameters()- Parameters:
parameters- Shows the parameters that are applied when enabling thisBaseline.- Returns:
this
-
tags
Sets the value ofCfnEnabledBaselineProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnabledBaselineProps>- Returns:
- a new instance of
CfnEnabledBaselineProps - Throws:
NullPointerException- if any required attribute was not provided
-