Class CfnCustomPluginProps.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnCustomPluginProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomPluginProps>
- Enclosing interface:
CfnCustomPluginProps
@Stability(Stable)
public static final class CfnCustomPluginProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomPluginProps>
A builder for
CfnCustomPluginProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(String contentType) Sets the value ofCfnCustomPluginProps.getContentType()description(String description) Sets the value ofCfnCustomPluginProps.getDescription()location(IResolvable location) Sets the value ofCfnCustomPluginProps.getLocation()Sets the value ofCfnCustomPluginProps.getLocation()Sets the value ofCfnCustomPluginProps.getName()Sets the value ofCfnCustomPluginProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
Sets the value ofCfnCustomPluginProps.getContentType()- Parameters:
contentType- The format of the plugin file. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnCustomPluginProps.getLocation()- Parameters:
location- Information about the location of the custom plugin. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CfnCustomPluginProps.Builder location(CfnCustomPlugin.CustomPluginLocationProperty location) Sets the value ofCfnCustomPluginProps.getLocation()- Parameters:
location- Information about the location of the custom plugin. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnCustomPluginProps.getName()- Parameters:
name- The name of the custom plugin. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnCustomPluginProps.getDescription()- Parameters:
description- The description of the custom plugin.- Returns:
this
-
tags
Sets the value ofCfnCustomPluginProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomPluginProps>- Returns:
- a new instance of
CfnCustomPluginProps - Throws:
NullPointerException- if any required attribute was not provided
-