Class CfnConfigurationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationPropsMixin>
- Enclosing class:
CfnConfigurationPropsMixin
@Stability(Stable)
public static final class CfnConfigurationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationPropsMixin>
A fluent builder for
CfnConfigurationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the configuration.kafkaVersionsList(List<String> kafkaVersionsList) The versions of Apache Kafka with which you can use this MSK configuration.latestRevision(CfnConfigurationPropsMixin.LatestRevisionProperty latestRevision) Latest revision of the MSK configuration.latestRevision(IResolvable latestRevision) Latest revision of the MSK configuration.The name of the configuration.serverProperties(String serverProperties) Contents of theserver.propertiesfile.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnConfigurationPropsMixin.Builder.
-
description
The description of the configuration.- Parameters:
description- The description of the configuration. This parameter is required.- Returns:
this- See Also:
-
kafkaVersionsList
@Stability(Stable) public CfnConfigurationPropsMixin.Builder kafkaVersionsList(List<String> kafkaVersionsList) The versions of Apache Kafka with which you can use this MSK configuration.When you update the
KafkaVersionsListproperty, CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList, you must also update theNameproperty in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- Parameters:
kafkaVersionsList- The versions of Apache Kafka with which you can use this MSK configuration. This parameter is required.- Returns:
this- See Also:
-
latestRevision
@Stability(Stable) public CfnConfigurationPropsMixin.Builder latestRevision(IResolvable latestRevision) Latest revision of the MSK configuration.- Parameters:
latestRevision- Latest revision of the MSK configuration. This parameter is required.- Returns:
this- See Also:
-
latestRevision
@Stability(Stable) public CfnConfigurationPropsMixin.Builder latestRevision(CfnConfigurationPropsMixin.LatestRevisionProperty latestRevision) Latest revision of the MSK configuration.- Parameters:
latestRevision- Latest revision of the MSK configuration. This parameter is required.- Returns:
this- See Also:
-
name
The name of the configuration.Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- Parameters:
name- The name of the configuration. This parameter is required.- Returns:
this- See Also:
-
serverProperties
@Stability(Stable) public CfnConfigurationPropsMixin.Builder serverProperties(String serverProperties) Contents of theserver.propertiesfile. When using the console, the SDK, or the AWS CLI , the contents ofserver.propertiescan be in plaintext.- Parameters:
serverProperties- Contents of theserver.propertiesfile. When using the console, the SDK, or the AWS CLI , the contents ofserver.propertiescan be in plaintext. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnConfigurationPropsMixin.
-