Struct aws_sdk_eventbridge::operation::create_endpoint::builders::CreateEndpointOutputBuilder
source · #[non_exhaustive]pub struct CreateEndpointOutputBuilder { /* private fields */ }
Expand description
A builder for CreateEndpointOutput
.
Implementations§
source§impl CreateEndpointOutputBuilder
impl CreateEndpointOutputBuilder
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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 get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
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 get_routing_config(&self) -> &Option<RoutingConfig>
pub fn get_routing_config(&self) -> &Option<RoutingConfig>
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 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
.
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 get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
pub fn get_event_buses(&self) -> &Option<Vec<EndpointEventBus>>
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 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 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 get_state(&self) -> &Option<EndpointState>
pub fn get_state(&self) -> &Option<EndpointState>
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
.
Trait Implementations§
source§impl Clone for CreateEndpointOutputBuilder
impl Clone for CreateEndpointOutputBuilder
source§fn clone(&self) -> CreateEndpointOutputBuilder
fn clone(&self) -> CreateEndpointOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEndpointOutputBuilder
impl Debug for CreateEndpointOutputBuilder
source§impl Default for CreateEndpointOutputBuilder
impl Default for CreateEndpointOutputBuilder
source§fn default() -> CreateEndpointOutputBuilder
fn default() -> CreateEndpointOutputBuilder
source§impl PartialEq for CreateEndpointOutputBuilder
impl PartialEq for CreateEndpointOutputBuilder
source§fn eq(&self, other: &CreateEndpointOutputBuilder) -> bool
fn eq(&self, other: &CreateEndpointOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateEndpointOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateEndpointOutputBuilder
impl RefUnwindSafe for CreateEndpointOutputBuilder
impl Send for CreateEndpointOutputBuilder
impl Sync for CreateEndpointOutputBuilder
impl Unpin for CreateEndpointOutputBuilder
impl UnwindSafe for CreateEndpointOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more