#[non_exhaustive]pub struct EndpointConfigurationBuilder { /* private fields */ }Expand description
A builder for EndpointConfiguration.
Implementations§
source§impl EndpointConfigurationBuilder
impl EndpointConfigurationBuilder
sourcepub fn types(self, input: EndpointType) -> Self
pub fn types(self, input: EndpointType) -> Self
Appends an item to types.
To override the contents of this collection use set_types.
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
sourcepub fn set_types(self, input: Option<Vec<EndpointType>>) -> Self
pub fn set_types(self, input: Option<Vec<EndpointType>>) -> Self
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
sourcepub fn get_types(&self) -> &Option<Vec<EndpointType>>
pub fn get_types(&self) -> &Option<Vec<EndpointType>>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
sourcepub fn vpc_endpoint_ids(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_ids(self, input: impl Into<String>) -> Self
Appends an item to vpc_endpoint_ids.
To override the contents of this collection use set_vpc_endpoint_ids.
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
sourcepub fn set_vpc_endpoint_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_endpoint_ids(self, input: Option<Vec<String>>) -> Self
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
sourcepub fn get_vpc_endpoint_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_endpoint_ids(&self) -> &Option<Vec<String>>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
sourcepub fn build(self) -> EndpointConfiguration
pub fn build(self) -> EndpointConfiguration
Consumes the builder and constructs a EndpointConfiguration.
Trait Implementations§
source§impl Clone for EndpointConfigurationBuilder
impl Clone for EndpointConfigurationBuilder
source§fn clone(&self) -> EndpointConfigurationBuilder
fn clone(&self) -> EndpointConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EndpointConfigurationBuilder
impl Debug for EndpointConfigurationBuilder
source§impl Default for EndpointConfigurationBuilder
impl Default for EndpointConfigurationBuilder
source§fn default() -> EndpointConfigurationBuilder
fn default() -> EndpointConfigurationBuilder
source§impl PartialEq for EndpointConfigurationBuilder
impl PartialEq for EndpointConfigurationBuilder
source§fn eq(&self, other: &EndpointConfigurationBuilder) -> bool
fn eq(&self, other: &EndpointConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EndpointConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EndpointConfigurationBuilder
impl RefUnwindSafe for EndpointConfigurationBuilder
impl Send for EndpointConfigurationBuilder
impl Sync for EndpointConfigurationBuilder
impl Unpin for EndpointConfigurationBuilder
impl UnwindSafe for EndpointConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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