Interface DescribeConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConfigurationResponse.Builder,DescribeConfigurationResponse>
,KafkaResponse.Builder
,SdkBuilder<DescribeConfigurationResponse.Builder,DescribeConfigurationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeConfigurationResponse
public static interface DescribeConfigurationResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<DescribeConfigurationResponse.Builder,DescribeConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeConfigurationResponse.Builder
arn(String arn)
The Amazon Resource Name (ARN) of the configuration.DescribeConfigurationResponse.Builder
creationTime(Instant creationTime)
The time when the configuration was created.DescribeConfigurationResponse.Builder
description(String description)
The description of the configuration.DescribeConfigurationResponse.Builder
kafkaVersions(String... kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.DescribeConfigurationResponse.Builder
kafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.default DescribeConfigurationResponse.Builder
latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)
Latest revision of the configuration.DescribeConfigurationResponse.Builder
latestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.DescribeConfigurationResponse.Builder
name(String name)
The name of the configuration.DescribeConfigurationResponse.Builder
state(String state)
The state of the configuration.DescribeConfigurationResponse.Builder
state(ConfigurationState state)
The state of the configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
DescribeConfigurationResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the configuration.
- Parameters:
arn
-The Amazon Resource Name (ARN) of the configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeConfigurationResponse.Builder creationTime(Instant creationTime)
The time when the configuration was created.
- Parameters:
creationTime
-The time when the configuration was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeConfigurationResponse.Builder description(String description)
The description of the configuration.
- Parameters:
description
-The description of the configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaVersions
DescribeConfigurationResponse.Builder kafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
- Parameters:
kafkaVersions
-The versions of Apache Kafka with which you can use this MSK configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaVersions
DescribeConfigurationResponse.Builder kafkaVersions(String... kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
- Parameters:
kafkaVersions
-The versions of Apache Kafka with which you can use this MSK configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
DescribeConfigurationResponse.Builder latestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
- Parameters:
latestRevision
-Latest revision of the configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default DescribeConfigurationResponse.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 viaConfigurationRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestRevision(ConfigurationRevision)
.- Parameters:
latestRevision
- a consumer that will call methods onConfigurationRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
latestRevision(ConfigurationRevision)
-
name
DescribeConfigurationResponse.Builder name(String name)
The name of the configuration.
- Parameters:
name
-The name of the configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
DescribeConfigurationResponse.Builder state(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
- Parameters:
state
-The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationState
,ConfigurationState
-
state
DescribeConfigurationResponse.Builder state(ConfigurationState state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
- Parameters:
state
-The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationState
,ConfigurationState
-
-