Struct aws_sdk_eventbridge::operation::create_endpoint::builders::CreateEndpointInputBuilder
source · #[non_exhaustive]pub struct CreateEndpointInputBuilder { /* private fields */ }Expand description
A builder for CreateEndpointInput.
Implementations§
source§impl CreateEndpointInputBuilder
impl CreateEndpointInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the global endpoint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the global endpoint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the global endpoint.
sourcepub fn routing_config(self, input: RoutingConfig) -> Self
pub fn routing_config(self, input: RoutingConfig) -> Self
Configure the routing policy, including the health check and secondary Region..
This field is required.sourcepub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
pub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
Configure the routing policy, including the health check and secondary Region..
sourcepub fn get_routing_config(&self) -> &Option<RoutingConfig>
pub fn get_routing_config(&self) -> &Option<RoutingConfig>
Configure the routing policy, including the health check and secondary Region..
sourcepub fn replication_config(self, input: ReplicationConfig) -> Self
pub fn replication_config(self, input: ReplicationConfig) -> Self
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 set_replication_config(self, input: Option<ReplicationConfig>) -> Self
pub fn set_replication_config(self, input: Option<ReplicationConfig>) -> Self
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 get_replication_config(&self) -> &Option<ReplicationConfig>
pub fn get_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, input: EndpointEventBus) -> Self
pub fn event_buses(self, input: EndpointEventBus) -> Self
Appends an item to event_buses.
To override the contents of this collection use set_event_buses.
Define the event buses used.
The names of the event buses must be identical in each Region.
sourcepub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
pub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
Define the event buses used.
The names of the event buses must be identical in each Region.
sourcepub fn get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
pub fn get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
Define the event buses used.
The names of the event buses must be identical in each Region.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role used for replication.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role used for replication.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role used for replication.
sourcepub fn build(self) -> Result<CreateEndpointInput, BuildError>
pub fn build(self) -> Result<CreateEndpointInput, BuildError>
Consumes the builder and constructs a CreateEndpointInput.
source§impl CreateEndpointInputBuilder
impl CreateEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEndpointInputBuilder
impl Clone for CreateEndpointInputBuilder
source§fn clone(&self) -> CreateEndpointInputBuilder
fn clone(&self) -> CreateEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateEndpointInputBuilder
impl Debug for CreateEndpointInputBuilder
source§impl Default for CreateEndpointInputBuilder
impl Default for CreateEndpointInputBuilder
source§fn default() -> CreateEndpointInputBuilder
fn default() -> CreateEndpointInputBuilder
source§impl PartialEq for CreateEndpointInputBuilder
impl PartialEq for CreateEndpointInputBuilder
source§fn eq(&self, other: &CreateEndpointInputBuilder) -> bool
fn eq(&self, other: &CreateEndpointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.