#[non_exhaustive]pub struct AwsApiGatewayEndpointConfigurationBuilder { /* private fields */ }
Expand description
A builder for AwsApiGatewayEndpointConfiguration
.
Implementations§
source§impl AwsApiGatewayEndpointConfigurationBuilder
impl AwsApiGatewayEndpointConfigurationBuilder
sourcepub fn types(self, input: impl Into<String>) -> Self
pub fn types(self, input: impl Into<String>) -> Self
Appends an item to types
.
To override the contents of this collection use set_types
.
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
sourcepub fn set_types(self, input: Option<Vec<String>>) -> Self
pub fn set_types(self, input: Option<Vec<String>>) -> Self
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
sourcepub fn get_types(&self) -> &Option<Vec<String>>
pub fn get_types(&self) -> &Option<Vec<String>>
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
sourcepub fn build(self) -> AwsApiGatewayEndpointConfiguration
pub fn build(self) -> AwsApiGatewayEndpointConfiguration
Consumes the builder and constructs a AwsApiGatewayEndpointConfiguration
.
Trait Implementations§
source§impl Clone for AwsApiGatewayEndpointConfigurationBuilder
impl Clone for AwsApiGatewayEndpointConfigurationBuilder
source§fn clone(&self) -> AwsApiGatewayEndpointConfigurationBuilder
fn clone(&self) -> AwsApiGatewayEndpointConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsApiGatewayEndpointConfigurationBuilder
impl Default for AwsApiGatewayEndpointConfigurationBuilder
source§fn default() -> AwsApiGatewayEndpointConfigurationBuilder
fn default() -> AwsApiGatewayEndpointConfigurationBuilder
source§impl PartialEq for AwsApiGatewayEndpointConfigurationBuilder
impl PartialEq for AwsApiGatewayEndpointConfigurationBuilder
source§fn eq(&self, other: &AwsApiGatewayEndpointConfigurationBuilder) -> bool
fn eq(&self, other: &AwsApiGatewayEndpointConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsApiGatewayEndpointConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AwsApiGatewayEndpointConfigurationBuilder
impl RefUnwindSafe for AwsApiGatewayEndpointConfigurationBuilder
impl Send for AwsApiGatewayEndpointConfigurationBuilder
impl Sync for AwsApiGatewayEndpointConfigurationBuilder
impl Unpin for AwsApiGatewayEndpointConfigurationBuilder
impl UnwindSafe for AwsApiGatewayEndpointConfigurationBuilder
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