Struct aws_sdk_kafka::model::configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Configuration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the configuration was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the configuration was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the configuration.
sourcepub fn kafka_versions(self, input: impl Into<String>) -> Self
pub fn kafka_versions(self, input: impl Into<String>) -> Self
Appends an item to kafka_versions
.
To override the contents of this collection use set_kafka_versions
.
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.
sourcepub fn set_kafka_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_kafka_versions(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn latest_revision(self, input: ConfigurationRevision) -> Self
pub fn latest_revision(self, input: ConfigurationRevision) -> Self
Latest revision of the configuration.
sourcepub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
pub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
Latest revision of the configuration.
sourcepub fn state(self, input: ConfigurationState) -> Self
pub fn state(self, input: ConfigurationState) -> Self
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
sourcepub fn set_state(self, input: Option<ConfigurationState>) -> Self
pub fn set_state(self, input: Option<ConfigurationState>) -> Self
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
sourcepub fn build(self) -> Configuration
pub fn build(self) -> Configuration
Consumes the builder and constructs a Configuration
.