Class EnabledControlReference.Builder
java.lang.Object
software.amazon.awscdk.services.controltower.EnabledControlReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnabledControlReference>
- Enclosing interface:
EnabledControlReference
@Stability(Stable)
public static final class EnabledControlReference.Builder
extends Object
implements software.amazon.jsii.Builder<EnabledControlReference>
A builder for
EnabledControlReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.controlIdentifier
(String controlIdentifier) Sets the value ofEnabledControlReference.getControlIdentifier()
targetIdentifier
(String targetIdentifier) Sets the value ofEnabledControlReference.getTargetIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlIdentifier
@Stability(Stable) public EnabledControlReference.Builder controlIdentifier(String controlIdentifier) Sets the value ofEnabledControlReference.getControlIdentifier()
- Parameters:
controlIdentifier
- The ControlIdentifier of the EnabledControl resource. This parameter is required.- Returns:
this
-
targetIdentifier
Sets the value ofEnabledControlReference.getTargetIdentifier()
- Parameters:
targetIdentifier
- The TargetIdentifier of the EnabledControl resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EnabledControlReference>
- Returns:
- a new instance of
EnabledControlReference
- Throws:
NullPointerException
- if any required attribute was not provided
-