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