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