#[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 ==
.