#[non_exhaustive]pub struct CreateReplicatorInput {
pub description: Option<String>,
pub kafka_clusters: Option<Vec<KafkaCluster>>,
pub replication_info_list: Option<Vec<ReplicationInfo>>,
pub replicator_name: Option<String>,
pub service_execution_role_arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Creates a replicator using the specified configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.description: Option<String>
A summary description of the replicator.
kafka_clusters: Option<Vec<KafkaCluster>>
Kafka Clusters to use in setting up sources / targets for replication.
replication_info_list: Option<Vec<ReplicationInfo>>
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
replicator_name: Option<String>
The name of the replicator. Alpha-numeric characters with '-' are allowed.
service_execution_role_arn: 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)
List of tags to attach to created Replicator.
Implementations§
source§impl CreateReplicatorInput
impl CreateReplicatorInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A summary description of the replicator.
sourcepub fn kafka_clusters(&self) -> &[KafkaCluster]
pub fn kafka_clusters(&self) -> &[KafkaCluster]
Kafka Clusters to use in setting up sources / targets for replication.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .kafka_clusters.is_none()
.
sourcepub fn replication_info_list(&self) -> &[ReplicationInfo]
pub fn replication_info_list(&self) -> &[ReplicationInfo]
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_info_list.is_none()
.
sourcepub fn replicator_name(&self) -> Option<&str>
pub fn replicator_name(&self) -> Option<&str>
The name of the replicator. Alpha-numeric characters with '-' are allowed.
sourcepub fn service_execution_role_arn(&self) -> Option<&str>
pub fn service_execution_role_arn(&self) -> Option<&str>
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
List of tags to attach to created Replicator.
source§impl CreateReplicatorInput
impl CreateReplicatorInput
sourcepub fn builder() -> CreateReplicatorInputBuilder
pub fn builder() -> CreateReplicatorInputBuilder
Creates a new builder-style object to manufacture CreateReplicatorInput
.
Trait Implementations§
source§impl Clone for CreateReplicatorInput
impl Clone for CreateReplicatorInput
source§fn clone(&self) -> CreateReplicatorInput
fn clone(&self) -> CreateReplicatorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateReplicatorInput
impl Debug for CreateReplicatorInput
source§impl PartialEq for CreateReplicatorInput
impl PartialEq for CreateReplicatorInput
source§fn eq(&self, other: &CreateReplicatorInput) -> bool
fn eq(&self, other: &CreateReplicatorInput) -> bool
self
and other
values to be equal, and is used
by ==
.