Class CfnWorkerConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kafkaconnect.mixins.CfnWorkerConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkerConfigurationMixinProps>
- Enclosing interface:
CfnWorkerConfigurationMixinProps
@Stability(Stable)
public static final class CfnWorkerConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkerConfigurationMixinProps>
A builder for
CfnWorkerConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkerConfigurationMixinProps.getDescription()Sets the value ofCfnWorkerConfigurationMixinProps.getName()propertiesFileContent(String propertiesFileContent) Sets the value ofCfnWorkerConfigurationMixinProps.getPropertiesFileContent()Sets the value ofCfnWorkerConfigurationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWorkerConfigurationMixinProps.getDescription()- Parameters:
description- The description of a worker configuration.- Returns:
this
-
name
Sets the value ofCfnWorkerConfigurationMixinProps.getName()- Parameters:
name- The name of the worker configuration.- Returns:
this
-
propertiesFileContent
@Stability(Stable) public CfnWorkerConfigurationMixinProps.Builder propertiesFileContent(String propertiesFileContent) Sets the value ofCfnWorkerConfigurationMixinProps.getPropertiesFileContent()- Parameters:
propertiesFileContent- Base64 encoded contents of the connect-distributed.properties file.- Returns:
this
-
tags
@Stability(Stable) public CfnWorkerConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnWorkerConfigurationMixinProps.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<CfnWorkerConfigurationMixinProps>- Returns:
- a new instance of
CfnWorkerConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-