pub struct CreateReplicatorFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateReplicator
.
Creates the replicator.
Implementations§
source§impl CreateReplicatorFluentBuilder
impl CreateReplicatorFluentBuilder
sourcepub fn as_input(&self) -> &CreateReplicatorInputBuilder
pub fn as_input(&self) -> &CreateReplicatorInputBuilder
Access the CreateReplicator as a reference.
sourcepub async fn send(
self
) -> Result<CreateReplicatorOutput, SdkError<CreateReplicatorError, HttpResponse>>
pub async fn send( self ) -> Result<CreateReplicatorOutput, SdkError<CreateReplicatorError, 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<CreateReplicatorOutput, CreateReplicatorError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateReplicatorOutput, CreateReplicatorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A summary description of the replicator.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A summary description of the replicator.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A summary description of the replicator.
sourcepub fn kafka_clusters(self, input: KafkaCluster) -> Self
pub fn kafka_clusters(self, input: KafkaCluster) -> Self
Appends an item to KafkaClusters
.
To override the contents of this collection use set_kafka_clusters
.
Kafka Clusters to use in setting up sources / targets for replication.
sourcepub fn set_kafka_clusters(self, input: Option<Vec<KafkaCluster>>) -> Self
pub fn set_kafka_clusters(self, input: Option<Vec<KafkaCluster>>) -> Self
Kafka Clusters to use in setting up sources / targets for replication.
sourcepub fn get_kafka_clusters(&self) -> &Option<Vec<KafkaCluster>>
pub fn get_kafka_clusters(&self) -> &Option<Vec<KafkaCluster>>
Kafka Clusters to use in setting up sources / targets for replication.
sourcepub fn replication_info_list(self, input: ReplicationInfo) -> Self
pub fn replication_info_list(self, input: ReplicationInfo) -> Self
Appends an item to ReplicationInfoList
.
To override the contents of this collection use set_replication_info_list
.
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
sourcepub fn set_replication_info_list(
self,
input: Option<Vec<ReplicationInfo>>
) -> Self
pub fn set_replication_info_list( self, input: Option<Vec<ReplicationInfo>> ) -> Self
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
sourcepub fn get_replication_info_list(&self) -> &Option<Vec<ReplicationInfo>>
pub fn get_replication_info_list(&self) -> &Option<Vec<ReplicationInfo>>
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
sourcepub fn replicator_name(self, input: impl Into<String>) -> Self
pub fn replicator_name(self, input: impl Into<String>) -> Self
The name of the replicator. Alpha-numeric characters with '-' are allowed.
sourcepub fn set_replicator_name(self, input: Option<String>) -> Self
pub fn set_replicator_name(self, input: Option<String>) -> Self
The name of the replicator. Alpha-numeric characters with '-' are allowed.
sourcepub fn get_replicator_name(&self) -> &Option<String>
pub fn get_replicator_name(&self) -> &Option<String>
The name of the replicator. Alpha-numeric characters with '-' are allowed.
sourcepub fn service_execution_role_arn(self, input: impl Into<String>) -> Self
pub fn service_execution_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
sourcepub fn set_service_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_service_execution_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
sourcepub fn get_service_execution_role_arn(&self) -> &Option<String>
pub fn get_service_execution_role_arn(&self) -> &Option<String>
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
List of tags to attach to created Replicator.
List of tags to attach to created Replicator.
List of tags to attach to created Replicator.
Trait Implementations§
source§impl Clone for CreateReplicatorFluentBuilder
impl Clone for CreateReplicatorFluentBuilder
source§fn clone(&self) -> CreateReplicatorFluentBuilder
fn clone(&self) -> CreateReplicatorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more