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