#[non_exhaustive]pub struct AwsEventsEndpointDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEventsEndpointDetails
.
Implementations§
source§impl AwsEventsEndpointDetailsBuilder
impl AwsEventsEndpointDetailsBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the endpoint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the endpoint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of 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 EndpointUrl
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 EndpointUrl
is https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is abcde.veo
.
sourcepub fn get_endpoint_id(&self) -> &Option<String>
pub fn get_endpoint_id(&self) -> &Option<String>
The URL subdomain of the endpoint. For example, if EndpointUrl
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 get_endpoint_url(&self) -> &Option<String>
pub fn get_endpoint_url(&self) -> &Option<String>
The URL of the endpoint.
sourcepub fn event_buses(self, input: AwsEventsEndpointEventBusesDetails) -> Self
pub fn event_buses(self, input: AwsEventsEndpointEventBusesDetails) -> 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<AwsEventsEndpointEventBusesDetails>>
) -> Self
pub fn set_event_buses( self, input: Option<Vec<AwsEventsEndpointEventBusesDetails>> ) -> Self
The event buses being used by the endpoint.
sourcepub fn get_event_buses(
&self
) -> &Option<Vec<AwsEventsEndpointEventBusesDetails>>
pub fn get_event_buses( &self ) -> &Option<Vec<AwsEventsEndpointEventBusesDetails>>
The event buses being used by the endpoint.
sourcepub fn replication_config(
self,
input: AwsEventsEndpointReplicationConfigDetails
) -> Self
pub fn replication_config( self, input: AwsEventsEndpointReplicationConfigDetails ) -> 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<AwsEventsEndpointReplicationConfigDetails>
) -> Self
pub fn set_replication_config( self, input: Option<AwsEventsEndpointReplicationConfigDetails> ) -> 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 get_replication_config(
&self
) -> &Option<AwsEventsEndpointReplicationConfigDetails>
pub fn get_replication_config( &self ) -> &Option<AwsEventsEndpointReplicationConfigDetails>
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 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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role used by event replication for the endpoint.
sourcepub fn routing_config(
self,
input: AwsEventsEndpointRoutingConfigDetails
) -> Self
pub fn routing_config( self, input: AwsEventsEndpointRoutingConfigDetails ) -> Self
The routing configuration of the endpoint.
sourcepub fn set_routing_config(
self,
input: Option<AwsEventsEndpointRoutingConfigDetails>
) -> Self
pub fn set_routing_config( self, input: Option<AwsEventsEndpointRoutingConfigDetails> ) -> Self
The routing configuration of the endpoint.
sourcepub fn get_routing_config(
&self
) -> &Option<AwsEventsEndpointRoutingConfigDetails>
pub fn get_routing_config( &self ) -> &Option<AwsEventsEndpointRoutingConfigDetails>
The routing configuration 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 get_state_reason(&self) -> &Option<String>
pub fn get_state_reason(&self) -> &Option<String>
The reason the endpoint is in its current state.
sourcepub fn build(self) -> AwsEventsEndpointDetails
pub fn build(self) -> AwsEventsEndpointDetails
Consumes the builder and constructs a AwsEventsEndpointDetails
.
Trait Implementations§
source§impl Clone for AwsEventsEndpointDetailsBuilder
impl Clone for AwsEventsEndpointDetailsBuilder
source§fn clone(&self) -> AwsEventsEndpointDetailsBuilder
fn clone(&self) -> AwsEventsEndpointDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEventsEndpointDetailsBuilder
impl Default for AwsEventsEndpointDetailsBuilder
source§fn default() -> AwsEventsEndpointDetailsBuilder
fn default() -> AwsEventsEndpointDetailsBuilder
source§impl PartialEq for AwsEventsEndpointDetailsBuilder
impl PartialEq for AwsEventsEndpointDetailsBuilder
source§fn eq(&self, other: &AwsEventsEndpointDetailsBuilder) -> bool
fn eq(&self, other: &AwsEventsEndpointDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.