#[non_exhaustive]pub struct CreateReplicatorInputBuilder { /* private fields */ }
Expand description
A builder for CreateReplicatorInput
.
Implementations§
source§impl CreateReplicatorInputBuilder
impl CreateReplicatorInputBuilder
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 kafka_clusters
.
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 replication_info_list
.
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.
This field is required.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)
This field is required.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.
sourcepub fn build(self) -> Result<CreateReplicatorInput, BuildError>
pub fn build(self) -> Result<CreateReplicatorInput, BuildError>
Consumes the builder and constructs a CreateReplicatorInput
.
source§impl CreateReplicatorInputBuilder
impl CreateReplicatorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateReplicatorOutput, SdkError<CreateReplicatorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateReplicatorOutput, SdkError<CreateReplicatorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateReplicatorInputBuilder
impl Clone for CreateReplicatorInputBuilder
source§fn clone(&self) -> CreateReplicatorInputBuilder
fn clone(&self) -> CreateReplicatorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateReplicatorInputBuilder
impl Debug for CreateReplicatorInputBuilder
source§impl Default for CreateReplicatorInputBuilder
impl Default for CreateReplicatorInputBuilder
source§fn default() -> CreateReplicatorInputBuilder
fn default() -> CreateReplicatorInputBuilder
source§impl PartialEq for CreateReplicatorInputBuilder
impl PartialEq for CreateReplicatorInputBuilder
source§fn eq(&self, other: &CreateReplicatorInputBuilder) -> bool
fn eq(&self, other: &CreateReplicatorInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.