Struct aws_sdk_kafka::operation::update_replication_info::builders::UpdateReplicationInfoFluentBuilder
source · pub struct UpdateReplicationInfoFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateReplicationInfo
.
Updates replication info of a replicator.
Implementations§
source§impl UpdateReplicationInfoFluentBuilder
impl UpdateReplicationInfoFluentBuilder
sourcepub fn as_input(&self) -> &UpdateReplicationInfoInputBuilder
pub fn as_input(&self) -> &UpdateReplicationInfoInputBuilder
Access the UpdateReplicationInfo as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateReplicationInfoOutput, SdkError<UpdateReplicationInfoError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateReplicationInfoOutput, SdkError<UpdateReplicationInfoError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateReplicationInfoOutput, UpdateReplicationInfoError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateReplicationInfoOutput, UpdateReplicationInfoError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for UpdateReplicationInfoFluentBuilder
impl Clone for UpdateReplicationInfoFluentBuilder
source§fn clone(&self) -> UpdateReplicationInfoFluentBuilder
fn clone(&self) -> UpdateReplicationInfoFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateReplicationInfoFluentBuilder
impl !RefUnwindSafe for UpdateReplicationInfoFluentBuilder
impl Send for UpdateReplicationInfoFluentBuilder
impl Sync for UpdateReplicationInfoFluentBuilder
impl Unpin for UpdateReplicationInfoFluentBuilder
impl !UnwindSafe for UpdateReplicationInfoFluentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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