public static interface Configuration.Builder extends SdkPojo, CopyableBuilder<Configuration.Builder,Configuration>
| Modifier and Type | Method and Description |
|---|---|
Configuration.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
Configuration.Builder |
creationTime(Instant creationTime)
The time when the configuration was created.
|
Configuration.Builder |
description(String description)
The description of the configuration.
|
Configuration.Builder |
kafkaVersions(Collection<String> kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
Configuration.Builder |
kafkaVersions(String... kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
Configuration.Builder |
latestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
|
default Configuration.Builder |
latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)
Latest revision of the configuration.
|
Configuration.Builder |
name(String name)
The name of the configuration.
|
Configuration.Builder |
state(ConfigurationState state)
The state of the configuration.
|
Configuration.Builder |
state(String state)
The state of the configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConfiguration.Builder arn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn - The Amazon Resource Name (ARN) of the configuration.
Configuration.Builder creationTime(Instant creationTime)
The time when the configuration was created.
creationTime - The time when the configuration was created.
Configuration.Builder description(String description)
The description of the configuration.
description - The description of the configuration.
Configuration.Builder kafkaVersions(Collection<String> kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
kafkaVersions - An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
Configuration.Builder kafkaVersions(String... kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
kafkaVersions - An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
Configuration.Builder latestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
latestRevision - Latest revision of the configuration.
default Configuration.Builder latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)
Latest revision of the configuration.
This is a convenience method that creates an instance of theConfigurationRevision.Builder avoiding
the need to create one manually via ConfigurationRevision.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to latestRevision(ConfigurationRevision).
latestRevision - a consumer that will call methods on ConfigurationRevision.BuilderlatestRevision(ConfigurationRevision)Configuration.Builder name(String name)
The name of the configuration.
name - The name of the configuration.
Configuration.Builder state(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState,
ConfigurationStateConfiguration.Builder state(ConfigurationState state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState,
ConfigurationStateCopyright © 2023. All rights reserved.