#[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 ==
.impl StructuralPartialEq for CreateReplicatorInput
Auto Trait Implementations§
impl Freeze for CreateReplicatorInput
impl RefUnwindSafe for CreateReplicatorInput
impl Send for CreateReplicatorInput
impl Sync for CreateReplicatorInput
impl Unpin for CreateReplicatorInput
impl UnwindSafe for CreateReplicatorInput
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> 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