Struct aws_sdk_kafka::operation::update_cluster_configuration::builders::UpdateClusterConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateClusterConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClusterConfigurationInput
.
Implementations§
source§impl UpdateClusterConfigurationInputBuilder
impl UpdateClusterConfigurationInputBuilder
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) that uniquely identifies the cluster.
This field is required.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) that uniquely identifies the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn configuration_info(self, input: ConfigurationInfo) -> Self
pub fn configuration_info(self, input: ConfigurationInfo) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
This field is required.sourcepub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
pub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
sourcepub fn get_configuration_info(&self) -> &Option<ConfigurationInfo>
pub fn get_configuration_info(&self) -> &Option<ConfigurationInfo>
Represents the configuration that you want MSK to use for the brokers in a cluster.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of the cluster that needs to be updated.
This field is required.sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The version of the cluster that needs to be updated.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of the cluster that needs to be updated.
sourcepub fn build(self) -> Result<UpdateClusterConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateClusterConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateClusterConfigurationInput
.
source§impl UpdateClusterConfigurationInputBuilder
impl UpdateClusterConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateClusterConfigurationOutput, SdkError<UpdateClusterConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateClusterConfigurationOutput, SdkError<UpdateClusterConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClusterConfigurationInputBuilder
impl Clone for UpdateClusterConfigurationInputBuilder
source§fn clone(&self) -> UpdateClusterConfigurationInputBuilder
fn clone(&self) -> UpdateClusterConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateClusterConfigurationInputBuilder
impl Default for UpdateClusterConfigurationInputBuilder
source§fn default() -> UpdateClusterConfigurationInputBuilder
fn default() -> UpdateClusterConfigurationInputBuilder
source§impl PartialEq for UpdateClusterConfigurationInputBuilder
impl PartialEq for UpdateClusterConfigurationInputBuilder
source§fn eq(&self, other: &UpdateClusterConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateClusterConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClusterConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateClusterConfigurationInputBuilder
impl RefUnwindSafe for UpdateClusterConfigurationInputBuilder
impl Send for UpdateClusterConfigurationInputBuilder
impl Sync for UpdateClusterConfigurationInputBuilder
impl Unpin for UpdateClusterConfigurationInputBuilder
impl UnwindSafe for UpdateClusterConfigurationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more