Class CfnEnabledControlMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.controltower.CfnEnabledControlMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledControlMixinProps>
- Enclosing interface:
CfnEnabledControlMixinProps
@Stability(Stable)
public static final class CfnEnabledControlMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledControlMixinProps>
A builder for
CfnEnabledControlMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlIdentifier(String controlIdentifier) Sets the value ofCfnEnabledControlMixinProps.getControlIdentifier()parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledControlMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnEnabledControlMixinProps.getParameters()Sets the value ofCfnEnabledControlMixinProps.getTags()targetIdentifier(String targetIdentifier) Sets the value ofCfnEnabledControlMixinProps.getTargetIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlIdentifier
@Stability(Stable) public CfnEnabledControlMixinProps.Builder controlIdentifier(String controlIdentifier) Sets the value ofCfnEnabledControlMixinProps.getControlIdentifier()- Parameters:
controlIdentifier- The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find thecontrolIdentifier, see the overview page .- Returns:
this
-
parameters
Sets the value ofCfnEnabledControlMixinProps.getParameters()- Parameters:
parameters- Array ofEnabledControlParameterobjects.- Returns:
this
-
parameters
@Stability(Stable) public CfnEnabledControlMixinProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnEnabledControlMixinProps.getParameters()- Parameters:
parameters- Array ofEnabledControlParameterobjects.- Returns:
this
-
tags
Sets the value ofCfnEnabledControlMixinProps.getTags()- Parameters:
tags- A set of tags to assign to the enabled control.- Returns:
this
-
targetIdentifier
@Stability(Stable) public CfnEnabledControlMixinProps.Builder targetIdentifier(String targetIdentifier) Sets the value ofCfnEnabledControlMixinProps.getTargetIdentifier()- Parameters:
targetIdentifier- The ARN of the organizational unit. For information on how to find thetargetIdentifier, see the overview page .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnabledControlMixinProps>- Returns:
- a new instance of
CfnEnabledControlMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-