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