Struct aws_sdk_apigateway::model::endpoint_configuration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for EndpointConfiguration.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> EndpointConfiguration
pub fn build(self) -> EndpointConfiguration
Consumes the builder and constructs a EndpointConfiguration.