Struct aws_sdk_kafka::operation::update_connectivity::builders::UpdateConnectivityInputBuilder
source · #[non_exhaustive]pub struct UpdateConnectivityInputBuilder { /* private fields */ }
Expand description
A builder for UpdateConnectivityInput
.
Implementations§
source§impl UpdateConnectivityInputBuilder
impl UpdateConnectivityInputBuilder
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 configuration.
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) of the configuration.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn connectivity_info(self, input: ConnectivityInfo) -> Self
pub fn connectivity_info(self, input: ConnectivityInfo) -> Self
Information about the broker access configuration.
This field is required.sourcepub fn set_connectivity_info(self, input: Option<ConnectivityInfo>) -> Self
pub fn set_connectivity_info(self, input: Option<ConnectivityInfo>) -> Self
Information about the broker access configuration.
sourcepub fn get_connectivity_info(&self) -> &Option<ConnectivityInfo>
pub fn get_connectivity_info(&self) -> &Option<ConnectivityInfo>
Information about the broker access configuration.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
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 MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
sourcepub fn build(self) -> Result<UpdateConnectivityInput, BuildError>
pub fn build(self) -> Result<UpdateConnectivityInput, BuildError>
Consumes the builder and constructs a UpdateConnectivityInput
.
source§impl UpdateConnectivityInputBuilder
impl UpdateConnectivityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateConnectivityOutput, SdkError<UpdateConnectivityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateConnectivityOutput, SdkError<UpdateConnectivityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConnectivityInputBuilder
impl Clone for UpdateConnectivityInputBuilder
source§fn clone(&self) -> UpdateConnectivityInputBuilder
fn clone(&self) -> UpdateConnectivityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConnectivityInputBuilder
impl Default for UpdateConnectivityInputBuilder
source§fn default() -> UpdateConnectivityInputBuilder
fn default() -> UpdateConnectivityInputBuilder
source§impl PartialEq for UpdateConnectivityInputBuilder
impl PartialEq for UpdateConnectivityInputBuilder
source§fn eq(&self, other: &UpdateConnectivityInputBuilder) -> bool
fn eq(&self, other: &UpdateConnectivityInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.