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