Struct aws_sdk_eventbridge::operation::update_endpoint::builders::UpdateEndpointInputBuilder
source · #[non_exhaustive]pub struct UpdateEndpointInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEndpointInput
.
Implementations§
source§impl UpdateEndpointInputBuilder
impl UpdateEndpointInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the endpoint you want to update.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the endpoint you want to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the endpoint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the endpoint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the 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.
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
Whether event replication was enabled or disabled by this request.
sourcepub fn set_replication_config(self, input: Option<ReplicationConfig>) -> Self
pub fn set_replication_config(self, input: Option<ReplicationConfig>) -> Self
Whether event replication was enabled or disabled by this request.
sourcepub fn get_replication_config(&self) -> &Option<ReplicationConfig>
pub fn get_replication_config(&self) -> &Option<ReplicationConfig>
Whether event replication was enabled or disabled by this request.
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 event buses used for replication.
sourcepub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
pub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
Define event buses used for replication.
sourcepub fn get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
pub fn get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
Define event buses used for replication.
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 by event replication for this request.
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 by event replication for this request.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role used by event replication for this request.
sourcepub fn build(self) -> Result<UpdateEndpointInput, BuildError>
pub fn build(self) -> Result<UpdateEndpointInput, BuildError>
Consumes the builder and constructs a UpdateEndpointInput
.
source§impl UpdateEndpointInputBuilder
impl UpdateEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEndpointOutput, SdkError<UpdateEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEndpointOutput, SdkError<UpdateEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEndpointInputBuilder
impl Clone for UpdateEndpointInputBuilder
source§fn clone(&self) -> UpdateEndpointInputBuilder
fn clone(&self) -> UpdateEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateEndpointInputBuilder
impl Debug for UpdateEndpointInputBuilder
source§impl Default for UpdateEndpointInputBuilder
impl Default for UpdateEndpointInputBuilder
source§fn default() -> UpdateEndpointInputBuilder
fn default() -> UpdateEndpointInputBuilder
source§impl PartialEq for UpdateEndpointInputBuilder
impl PartialEq for UpdateEndpointInputBuilder
source§fn eq(&self, other: &UpdateEndpointInputBuilder) -> bool
fn eq(&self, other: &UpdateEndpointInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.