Class CfnConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationProps>
- Enclosing interface:
CfnConfigurationProps
@Stability(Stable)
public static final class CfnConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationProps>
A builder for
CfnConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnConfigurationProps.getDescription()kafkaVersionsList(List<String> kafkaVersionsList) Sets the value ofCfnConfigurationProps.getKafkaVersionsList()latestRevision(IResolvable latestRevision) Sets the value ofCfnConfigurationProps.getLatestRevision()latestRevision(CfnConfiguration.LatestRevisionProperty latestRevision) Sets the value ofCfnConfigurationProps.getLatestRevision()Sets the value ofCfnConfigurationProps.getName()serverProperties(String serverProperties) Sets the value ofCfnConfigurationProps.getServerProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConfigurationProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
serverProperties
Sets the value ofCfnConfigurationProps.getServerProperties()- Parameters:
serverProperties- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConfigurationProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
kafkaVersionsList
@Stability(Stable) public CfnConfigurationProps.Builder kafkaVersionsList(List<String> kafkaVersionsList) Sets the value ofCfnConfigurationProps.getKafkaVersionsList()- Parameters:
kafkaVersionsList- the value to be set.- Returns:
this
-
latestRevision
Sets the value ofCfnConfigurationProps.getLatestRevision()- Parameters:
latestRevision- the value to be set.- Returns:
this
-
latestRevision
@Stability(Stable) public CfnConfigurationProps.Builder latestRevision(CfnConfiguration.LatestRevisionProperty latestRevision) Sets the value ofCfnConfigurationProps.getLatestRevision()- Parameters:
latestRevision- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationProps>- Returns:
- a new instance of
CfnConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-