Struct aws_sdk_globalaccelerator::operation::create_custom_routing_listener::builders::CreateCustomRoutingListenerFluentBuilder
source · pub struct CreateCustomRoutingListenerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCustomRoutingListener
.
Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.
Implementations§
source§impl CreateCustomRoutingListenerFluentBuilder
impl CreateCustomRoutingListenerFluentBuilder
sourcepub fn as_input(&self) -> &CreateCustomRoutingListenerInputBuilder
pub fn as_input(&self) -> &CreateCustomRoutingListenerInputBuilder
Access the CreateCustomRoutingListener as a reference.
sourcepub async fn send(
self
) -> Result<CreateCustomRoutingListenerOutput, SdkError<CreateCustomRoutingListenerError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCustomRoutingListenerOutput, SdkError<CreateCustomRoutingListenerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateCustomRoutingListenerOutput, CreateCustomRoutingListenerError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCustomRoutingListenerOutput, CreateCustomRoutingListenerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn accelerator_arn(self, input: impl Into<String>) -> Self
pub fn accelerator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
sourcepub fn set_accelerator_arn(self, input: Option<String>) -> Self
pub fn set_accelerator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
sourcepub fn get_accelerator_arn(&self) -> &Option<String>
pub fn get_accelerator_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
sourcepub fn port_ranges(self, input: PortRange) -> Self
pub fn port_ranges(self, input: PortRange) -> Self
Appends an item to PortRanges
.
To override the contents of this collection use set_port_ranges
.
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
sourcepub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
pub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
sourcepub fn get_port_ranges(&self) -> &Option<Vec<PortRange>>
pub fn get_port_ranges(&self) -> &Option<Vec<PortRange>>
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
sourcepub fn idempotency_token(self, input: impl Into<String>) -> Self
pub fn idempotency_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
sourcepub fn set_idempotency_token(self, input: Option<String>) -> Self
pub fn set_idempotency_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
sourcepub fn get_idempotency_token(&self) -> &Option<String>
pub fn get_idempotency_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Trait Implementations§
source§impl Clone for CreateCustomRoutingListenerFluentBuilder
impl Clone for CreateCustomRoutingListenerFluentBuilder
source§fn clone(&self) -> CreateCustomRoutingListenerFluentBuilder
fn clone(&self) -> CreateCustomRoutingListenerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateCustomRoutingListenerFluentBuilder
impl !RefUnwindSafe for CreateCustomRoutingListenerFluentBuilder
impl Send for CreateCustomRoutingListenerFluentBuilder
impl Sync for CreateCustomRoutingListenerFluentBuilder
impl Unpin for CreateCustomRoutingListenerFluentBuilder
impl !UnwindSafe for CreateCustomRoutingListenerFluentBuilder
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