pub fn types(mut self, input: crate::model::EndpointType) -> Self {
            let mut v = self.types.unwrap_or_default();
            v.push(input);
            self.types = Some(v);
            self
        }
/// Appends an item to `types`.
///
/// To override the contents of this collection use [`set_types`](Self::set_types).
///
/// <p>A list of endpoint types of an API (<code>RestApi</code>) or its custom domain name (<code>DomainName</code>). For an edge-optimized API and its custom domain name, the endpoint type is <code>"EDGE"</code>. For a regional API and its custom domain name, the endpoint type is <code>REGIONAL</code>. For a private API, the endpoint type is <code>PRIVATE</code>.</p>
Appends an item to `types`.
To override the contents of this collection use [`set_types`](Self::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.
Appends an item to ` types ` . To override the contents of this collection use [ ` set_types ` ] ( Self :: 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 .
pub fn types(mut self, input: crate::model::EndpointType) -> Self {
            let mut v = self.types.unwrap_or_default();
            v.push(input);
            self.types = Some(v);
            self
        }
pub fn types ( mut self , input : crate :: model :: EndpointType ) -> Self { let mut v = self . types . unwrap_or_default ( ) ; v . push ( input ) ; self . types = Some ( v ) ; self }
Appends an item to `types`.
Appends an item to ` types ` .
mut self
input
crate::model::EndpointType
mut self
input
crate::model::EndpointType