Class CfnEnabledBaselineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.controltower.CfnEnabledBaselineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledBaselineMixinProps>
- Enclosing interface:
CfnEnabledBaselineMixinProps
@Stability(Stable)
public static final class CfnEnabledBaselineMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledBaselineMixinProps>
A builder for
CfnEnabledBaselineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaselineIdentifier(String baselineIdentifier) Sets the value ofCfnEnabledBaselineMixinProps.getBaselineIdentifier()baselineVersion(String baselineVersion) Sets the value ofCfnEnabledBaselineMixinProps.getBaselineVersion()build()Builds the configured instance.parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledBaselineMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnEnabledBaselineMixinProps.getParameters()Sets the value ofCfnEnabledBaselineMixinProps.getTags()targetIdentifier(String targetIdentifier) Sets the value ofCfnEnabledBaselineMixinProps.getTargetIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baselineIdentifier
@Stability(Stable) public CfnEnabledBaselineMixinProps.Builder baselineIdentifier(String baselineIdentifier) Sets the value ofCfnEnabledBaselineMixinProps.getBaselineIdentifier()- Parameters:
baselineIdentifier- The specificBaselineenabled as part of theEnabledBaselineresource.- Returns:
this
-
baselineVersion
@Stability(Stable) public CfnEnabledBaselineMixinProps.Builder baselineVersion(String baselineVersion) Sets the value ofCfnEnabledBaselineMixinProps.getBaselineVersion()- Parameters:
baselineVersion- The enabled version of theBaseline.- Returns:
this
-
parameters
Sets the value ofCfnEnabledBaselineMixinProps.getParameters()- Parameters:
parameters- Shows the parameters that are applied when enabling thisBaseline.- Returns:
this
-
parameters
@Stability(Stable) public CfnEnabledBaselineMixinProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledBaselineMixinProps.getParameters()- Parameters:
parameters- Shows the parameters that are applied when enabling thisBaseline.- Returns:
this
-
tags
Sets the value ofCfnEnabledBaselineMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
targetIdentifier
@Stability(Stable) public CfnEnabledBaselineMixinProps.Builder targetIdentifier(String targetIdentifier) Sets the value ofCfnEnabledBaselineMixinProps.getTargetIdentifier()- Parameters:
targetIdentifier- The target on which to enable theBaseline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnabledBaselineMixinProps>- Returns:
- a new instance of
CfnEnabledBaselineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-