Struct aws_sdk_eventbridge::types::builders::EndpointBuilder
source · #[non_exhaustive]pub struct EndpointBuilder { /* private fields */ }
Expand description
A builder for Endpoint
.
Implementations§
source§impl EndpointBuilder
impl EndpointBuilder
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 routing_config(self, input: RoutingConfig) -> Self
pub fn routing_config(self, input: RoutingConfig) -> Self
The routing configuration of the endpoint.
sourcepub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
pub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
The routing configuration of the endpoint.
sourcepub fn replication_config(self, input: ReplicationConfig) -> Self
pub fn replication_config(self, input: ReplicationConfig) -> Self
Whether event replication was enabled or disabled for this endpoint. 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
Whether event replication was enabled or disabled for this endpoint. 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
.
The event buses being used by the endpoint.
sourcepub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
pub fn set_event_buses(self, input: Option<Vec<EndpointEventBus>>) -> Self
The event buses being used by the endpoint.
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 the endpoint.
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 the endpoint.
sourcepub fn endpoint_id(self, input: impl Into<String>) -> Self
pub fn endpoint_id(self, input: impl Into<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn set_endpoint_id(self, input: Option<String>) -> Self
pub fn set_endpoint_id(self, input: Option<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn endpoint_url(self, input: impl Into<String>) -> Self
pub fn endpoint_url(self, input: impl Into<String>) -> Self
The URL of the endpoint.
sourcepub fn set_endpoint_url(self, input: Option<String>) -> Self
pub fn set_endpoint_url(self, input: Option<String>) -> Self
The URL of the endpoint.
sourcepub fn state(self, input: EndpointState) -> Self
pub fn state(self, input: EndpointState) -> Self
The current state of the endpoint.
sourcepub fn set_state(self, input: Option<EndpointState>) -> Self
pub fn set_state(self, input: Option<EndpointState>) -> Self
The current state of the endpoint.
sourcepub fn state_reason(self, input: impl Into<String>) -> Self
pub fn state_reason(self, input: impl Into<String>) -> Self
The reason the endpoint is in its current state.
sourcepub fn set_state_reason(self, input: Option<String>) -> Self
pub fn set_state_reason(self, input: Option<String>) -> Self
The reason the endpoint is in its current state.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the endpoint was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the endpoint was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The last time the endpoint was modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The last time the endpoint was modified.
Trait Implementations§
source§impl Clone for EndpointBuilder
impl Clone for EndpointBuilder
source§fn clone(&self) -> EndpointBuilder
fn clone(&self) -> EndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointBuilder
impl Debug for EndpointBuilder
source§impl Default for EndpointBuilder
impl Default for EndpointBuilder
source§fn default() -> EndpointBuilder
fn default() -> EndpointBuilder
source§impl PartialEq<EndpointBuilder> for EndpointBuilder
impl PartialEq<EndpointBuilder> for EndpointBuilder
source§fn eq(&self, other: &EndpointBuilder) -> bool
fn eq(&self, other: &EndpointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.