pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateClusterKafkaVersionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster to be updated.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster to be updated.
sourcepub fn configuration_info(self, input: ConfigurationInfo) -> Self
pub fn configuration_info(self, input: ConfigurationInfo) -> Self
The custom configuration that should be applied on the new version of cluster.
sourcepub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
pub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
The custom configuration that should be applied on the new version of cluster.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
Current cluster version.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
Current cluster version.
sourcepub fn target_kafka_version(self, input: impl Into<String>) -> Self
pub fn target_kafka_version(self, input: impl Into<String>) -> Self
Target Kafka version.
sourcepub fn set_target_kafka_version(self, input: Option<String>) -> Self
pub fn set_target_kafka_version(self, input: Option<String>) -> Self
Target Kafka version.
sourcepub fn build(self) -> Result<UpdateClusterKafkaVersionInput, BuildError>
pub fn build(self) -> Result<UpdateClusterKafkaVersionInput, BuildError>
Consumes the builder and constructs a UpdateClusterKafkaVersionInput
.