Class CfnWorkerConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnWorkerConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkerConfigurationProps>
- Enclosing interface:
CfnWorkerConfigurationProps
@Stability(Stable)
public static final class CfnWorkerConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkerConfigurationProps>
A builder for
CfnWorkerConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkerConfigurationProps.getDescription()Sets the value ofCfnWorkerConfigurationProps.getName()propertiesFileContent(String propertiesFileContent) Sets the value ofCfnWorkerConfigurationProps.getPropertiesFileContent()Sets the value ofCfnWorkerConfigurationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWorkerConfigurationProps.getName()- Parameters:
name- The name of the worker configuration. This parameter is required.- Returns:
this
-
propertiesFileContent
@Stability(Stable) public CfnWorkerConfigurationProps.Builder propertiesFileContent(String propertiesFileContent) Sets the value ofCfnWorkerConfigurationProps.getPropertiesFileContent()- Parameters:
propertiesFileContent- Base64 encoded contents of the connect-distributed.properties file. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWorkerConfigurationProps.getDescription()- Parameters:
description- The description of a worker configuration.- Returns:
this
-
tags
Sets the value ofCfnWorkerConfigurationProps.getTags()- Parameters:
tags- A collection of tags associated with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkerConfigurationProps>- Returns:
- a new instance of
CfnWorkerConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-