public static final class CfnConfiguration.Builder
extends java.lang.Object
CfnConfiguration
.Modifier and Type | Method and Description |
---|---|
CfnConfiguration |
build() |
static CfnConfiguration.Builder |
create(Construct scope,
java.lang.String id) |
CfnConfiguration.Builder |
description(java.lang.String description)
The description of the configuration.
|
CfnConfiguration.Builder |
kafkaVersionsList(java.util.List<java.lang.String> kafkaVersionsList)
A list of the versions of Apache Kafka with which you can use this MSK configuration.
|
CfnConfiguration.Builder |
name(java.lang.String name)
The name of the configuration.
|
CfnConfiguration.Builder |
serverProperties(java.lang.String serverProperties)
Contents of the server.properties file.
|
public static CfnConfiguration.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnConfiguration.Builder
.public CfnConfiguration.Builder name(java.lang.String name)
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
name
- The name of the configuration. This parameter is required.this
public CfnConfiguration.Builder serverProperties(java.lang.String serverProperties)
serverProperties
- Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext. This parameter is required.this
public CfnConfiguration.Builder description(java.lang.String description)
description
- The description of the configuration. This parameter is required.this
public CfnConfiguration.Builder kafkaVersionsList(java.util.List<java.lang.String> kafkaVersionsList)
You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this list.
kafkaVersionsList
- A list of the versions of Apache Kafka with which you can use this MSK configuration. This parameter is required.this
public CfnConfiguration build()