Class ControlReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.controlcatalog.ControlReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ControlReference>
- Enclosing interface:
ControlReference
@Stability(Stable)
public static final class ControlReference.Builder
extends Object
implements software.amazon.jsii.Builder<ControlReference>
A builder for
ControlReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlArn(String controlArn) Sets the value ofControlReference.getControlArn()Sets the value ofControlReference.getControlId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlArn
Sets the value ofControlReference.getControlArn()- Parameters:
controlArn- The ARN of the Control resource. This parameter is required.- Returns:
this
-
controlId
Sets the value ofControlReference.getControlId()- Parameters:
controlId- The ControlId of the Control resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ControlReference>- Returns:
- a new instance of
ControlReference - Throws:
NullPointerException- if any required attribute was not provided
-