/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.APIGateway.Model
{
///
/// The endpoint configuration to indicate the types of endpoints an API (RestApi) or
/// its custom domain name (DomainName) has.
///
public partial class EndpointConfiguration
{
private List _types = new List();
private List _vpcEndpointIds = new List();
///
/// Gets and sets the property 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
.
///
///
public List Types
{
get { return this._types; }
set { this._types = value; }
}
// Check to see if Types property is set
internal bool IsSetTypes()
{
return this._types != null && this._types.Count > 0;
}
///
/// Gets and sets the property VpcEndpointIds.
///
/// A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
/// It is only supported for PRIVATE
endpoint type.
///
///
public List VpcEndpointIds
{
get { return this._vpcEndpointIds; }
set { this._vpcEndpointIds = value; }
}
// Check to see if VpcEndpointIds property is set
internal bool IsSetVpcEndpointIds()
{
return this._vpcEndpointIds != null && this._vpcEndpointIds.Count > 0;
}
}
}