Class CfnConnector.CustomPluginProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnConnector.CustomPluginProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.CustomPluginProperty>
- Enclosing interface:
CfnConnector.CustomPluginProperty
@Stability(Stable)
public static final class CfnConnector.CustomPluginProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.CustomPluginProperty>
A builder for
CfnConnector.CustomPluginProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customPluginArn
(String customPluginArn) Sets the value ofCfnConnector.CustomPluginProperty.getCustomPluginArn()
Sets the value ofCfnConnector.CustomPluginProperty.getRevision()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customPluginArn
@Stability(Stable) public CfnConnector.CustomPluginProperty.Builder customPluginArn(String customPluginArn) Sets the value ofCfnConnector.CustomPluginProperty.getCustomPluginArn()
- Parameters:
customPluginArn
- The Amazon Resource Name (ARN) of the custom plugin. This parameter is required.- Returns:
this
-
revision
Sets the value ofCfnConnector.CustomPluginProperty.getRevision()
- Parameters:
revision
- The revision of the custom plugin. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnector.CustomPluginProperty>
- Returns:
- a new instance of
CfnConnector.CustomPluginProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-