Struct aws_sdk_eventbridge::model::endpoint::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Endpoint.
Implementations§
source§impl Builder
impl Builder
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.
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.
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 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 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.