Struct aws_sdk_kafka::operation::update_replication_info::builders::UpdateReplicationInfoInputBuilder
source · #[non_exhaustive]pub struct UpdateReplicationInfoInputBuilder { /* private fields */ }
Expand description
A builder for UpdateReplicationInfoInput
.
Implementations§
source§impl UpdateReplicationInfoInputBuilder
impl UpdateReplicationInfoInputBuilder
sourcepub fn consumer_group_replication(
self,
input: ConsumerGroupReplicationUpdate,
) -> Self
pub fn consumer_group_replication( self, input: ConsumerGroupReplicationUpdate, ) -> Self
Updated consumer group replication information.
sourcepub fn set_consumer_group_replication(
self,
input: Option<ConsumerGroupReplicationUpdate>,
) -> Self
pub fn set_consumer_group_replication( self, input: Option<ConsumerGroupReplicationUpdate>, ) -> Self
Updated consumer group replication information.
sourcepub fn get_consumer_group_replication(
&self,
) -> &Option<ConsumerGroupReplicationUpdate>
pub fn get_consumer_group_replication( &self, ) -> &Option<ConsumerGroupReplicationUpdate>
Updated consumer group replication information.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
Current replicator 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
Current replicator version.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
Current replicator version.
sourcepub fn replicator_arn(self, input: impl Into<String>) -> Self
pub fn replicator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the replicator to be updated.
This field is required.sourcepub fn set_replicator_arn(self, input: Option<String>) -> Self
pub fn set_replicator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the replicator to be updated.
sourcepub fn get_replicator_arn(&self) -> &Option<String>
pub fn get_replicator_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the replicator to be updated.
sourcepub fn source_kafka_cluster_arn(self, input: impl Into<String>) -> Self
pub fn source_kafka_cluster_arn(self, input: impl Into<String>) -> Self
The ARN of the source Kafka cluster.
This field is required.sourcepub fn set_source_kafka_cluster_arn(self, input: Option<String>) -> Self
pub fn set_source_kafka_cluster_arn(self, input: Option<String>) -> Self
The ARN of the source Kafka cluster.
sourcepub fn get_source_kafka_cluster_arn(&self) -> &Option<String>
pub fn get_source_kafka_cluster_arn(&self) -> &Option<String>
The ARN of the source Kafka cluster.
sourcepub fn target_kafka_cluster_arn(self, input: impl Into<String>) -> Self
pub fn target_kafka_cluster_arn(self, input: impl Into<String>) -> Self
The ARN of the target Kafka cluster.
This field is required.sourcepub fn set_target_kafka_cluster_arn(self, input: Option<String>) -> Self
pub fn set_target_kafka_cluster_arn(self, input: Option<String>) -> Self
The ARN of the target Kafka cluster.
sourcepub fn get_target_kafka_cluster_arn(&self) -> &Option<String>
pub fn get_target_kafka_cluster_arn(&self) -> &Option<String>
The ARN of the target Kafka cluster.
sourcepub fn topic_replication(self, input: TopicReplicationUpdate) -> Self
pub fn topic_replication(self, input: TopicReplicationUpdate) -> Self
Updated topic replication information.
sourcepub fn set_topic_replication(
self,
input: Option<TopicReplicationUpdate>,
) -> Self
pub fn set_topic_replication( self, input: Option<TopicReplicationUpdate>, ) -> Self
Updated topic replication information.
sourcepub fn get_topic_replication(&self) -> &Option<TopicReplicationUpdate>
pub fn get_topic_replication(&self) -> &Option<TopicReplicationUpdate>
Updated topic replication information.
sourcepub fn build(self) -> Result<UpdateReplicationInfoInput, BuildError>
pub fn build(self) -> Result<UpdateReplicationInfoInput, BuildError>
Consumes the builder and constructs a UpdateReplicationInfoInput
.
source§impl UpdateReplicationInfoInputBuilder
impl UpdateReplicationInfoInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateReplicationInfoOutput, SdkError<UpdateReplicationInfoError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateReplicationInfoOutput, SdkError<UpdateReplicationInfoError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateReplicationInfoInputBuilder
impl Clone for UpdateReplicationInfoInputBuilder
source§fn clone(&self) -> UpdateReplicationInfoInputBuilder
fn clone(&self) -> UpdateReplicationInfoInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateReplicationInfoInputBuilder
impl Default for UpdateReplicationInfoInputBuilder
source§fn default() -> UpdateReplicationInfoInputBuilder
fn default() -> UpdateReplicationInfoInputBuilder
source§impl PartialEq for UpdateReplicationInfoInputBuilder
impl PartialEq for UpdateReplicationInfoInputBuilder
source§fn eq(&self, other: &UpdateReplicationInfoInputBuilder) -> bool
fn eq(&self, other: &UpdateReplicationInfoInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateReplicationInfoInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateReplicationInfoInputBuilder
impl RefUnwindSafe for UpdateReplicationInfoInputBuilder
impl Send for UpdateReplicationInfoInputBuilder
impl Sync for UpdateReplicationInfoInputBuilder
impl Unpin for UpdateReplicationInfoInputBuilder
impl UnwindSafe for UpdateReplicationInfoInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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