#[non_exhaustive]pub struct CreateEndpointInput {
pub name: Option<String>,
pub description: Option<String>,
pub routing_config: Option<RoutingConfig>,
pub replication_config: Option<ReplicationConfig>,
pub event_buses: Option<Vec<EndpointEventBus>>,
pub role_arn: Option<String>,
}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.name: Option<String>The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
description: Option<String>A description of the global endpoint.
routing_config: Option<RoutingConfig>Configure the routing policy, including the health check and secondary Region..
replication_config: Option<ReplicationConfig>Enable or disable event replication. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.
event_buses: Option<Vec<EndpointEventBus>>Define the event buses used.
The names of the event buses must be identical in each Region.
role_arn: Option<String>The ARN of the role used for replication.
Implementations§
source§impl CreateEndpointInput
impl CreateEndpointInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the global endpoint.
sourcepub fn routing_config(&self) -> Option<&RoutingConfig>
pub fn routing_config(&self) -> Option<&RoutingConfig>
Configure the routing policy, including the health check and secondary Region..
sourcepub fn replication_config(&self) -> Option<&ReplicationConfig>
pub fn replication_config(&self) -> Option<&ReplicationConfig>
Enable or disable event replication. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.
sourcepub fn event_buses(&self) -> &[EndpointEventBus]
pub fn event_buses(&self) -> &[EndpointEventBus]
Define the event buses used.
The names of the event buses must be identical in each Region.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_buses.is_none().
source§impl CreateEndpointInput
impl CreateEndpointInput
sourcepub fn builder() -> CreateEndpointInputBuilder
pub fn builder() -> CreateEndpointInputBuilder
Creates a new builder-style object to manufacture CreateEndpointInput.
Trait Implementations§
source§impl Clone for CreateEndpointInput
impl Clone for CreateEndpointInput
source§fn clone(&self) -> CreateEndpointInput
fn clone(&self) -> CreateEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateEndpointInput
impl Debug for CreateEndpointInput
source§impl PartialEq for CreateEndpointInput
impl PartialEq for CreateEndpointInput
source§fn eq(&self, other: &CreateEndpointInput) -> bool
fn eq(&self, other: &CreateEndpointInput) -> bool
self and other values to be equal, and is used
by ==.