Struct aws_sdk_eventbridge::output::create_endpoint_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateEndpointOutput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the endpoint that was created by this request.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the endpoint that was created by this request.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the endpoint that was created by this request.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the endpoint that was created by this request.
sourcepub fn routing_config(self, input: RoutingConfig) -> Self
pub fn routing_config(self, input: RoutingConfig) -> Self
The routing configuration defined by this request.
sourcepub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
pub fn set_routing_config(self, input: Option<RoutingConfig>) -> Self
The routing configuration defined by this request.
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 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 used by this request.
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 used by this request.
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 state(self, input: EndpointState) -> Self
pub fn state(self, input: EndpointState) -> Self
The state of the endpoint that was created by this request.
sourcepub fn set_state(self, input: Option<EndpointState>) -> Self
pub fn set_state(self, input: Option<EndpointState>) -> Self
The state of the endpoint that was created by this request.
sourcepub fn build(self) -> CreateEndpointOutput
pub fn build(self) -> CreateEndpointOutput
Consumes the builder and constructs a CreateEndpointOutput.