/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Container for the parameters to the CreateVpcEndpointServiceConfiguration operation.
/// Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts,
/// users, and IAM roles) can connect.
///
///
///
/// Before you create an endpoint service, you must create one of the following for your
/// service:
///
///
///
/// If you set the private DNS name, you must prove that you own the private DNS domain
/// name.
///
///
///
/// For more information, see the Amazon
/// Web Services PrivateLink Guide.
///
///
public partial class CreateVpcEndpointServiceConfigurationRequest : AmazonEC2Request
{
private bool? _acceptanceRequired;
private string _clientToken;
private List _gatewayLoadBalancerArns = new List();
private List _networkLoadBalancerArns = new List();
private string _privateDnsName;
private List _supportedIpAddressTypes = new List();
private List _tagSpecifications = new List();
///
/// Gets and sets the property AcceptanceRequired.
///
/// Indicates whether requests from service consumers to create an endpoint to your service
/// must be accepted manually.
///
///
public bool AcceptanceRequired
{
get { return this._acceptanceRequired.GetValueOrDefault(); }
set { this._acceptanceRequired = value; }
}
// Check to see if AcceptanceRequired property is set
internal bool IsSetAcceptanceRequired()
{
return this._acceptanceRequired.HasValue;
}
///
/// Gets and sets the property ClientToken.
///
/// Unique, case-sensitive identifier that you provide to ensure the idempotency of the
/// request. For more information, see How
/// to ensure idempotency.
///
///
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property GatewayLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
///
///
public List GatewayLoadBalancerArns
{
get { return this._gatewayLoadBalancerArns; }
set { this._gatewayLoadBalancerArns = value; }
}
// Check to see if GatewayLoadBalancerArns property is set
internal bool IsSetGatewayLoadBalancerArns()
{
return this._gatewayLoadBalancerArns != null && this._gatewayLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property NetworkLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of the Network Load Balancers.
///
///
public List NetworkLoadBalancerArns
{
get { return this._networkLoadBalancerArns; }
set { this._networkLoadBalancerArns = value; }
}
// Check to see if NetworkLoadBalancerArns property is set
internal bool IsSetNetworkLoadBalancerArns()
{
return this._networkLoadBalancerArns != null && this._networkLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property PrivateDnsName.
///
/// (Interface endpoint configuration) The private DNS name to assign to the VPC endpoint
/// service.
///
///
public string PrivateDnsName
{
get { return this._privateDnsName; }
set { this._privateDnsName = value; }
}
// Check to see if PrivateDnsName property is set
internal bool IsSetPrivateDnsName()
{
return this._privateDnsName != null;
}
///
/// Gets and sets the property SupportedIpAddressTypes.
///
/// The supported IP address types. The possible values are ipv4
and ipv6
.
///
///
public List SupportedIpAddressTypes
{
get { return this._supportedIpAddressTypes; }
set { this._supportedIpAddressTypes = value; }
}
// Check to see if SupportedIpAddressTypes property is set
internal bool IsSetSupportedIpAddressTypes()
{
return this._supportedIpAddressTypes != null && this._supportedIpAddressTypes.Count > 0;
}
///
/// Gets and sets the property TagSpecifications.
///
/// The tags to associate with the service.
///
///
public List TagSpecifications
{
get { return this._tagSpecifications; }
set { this._tagSpecifications = value; }
}
// Check to see if TagSpecifications property is set
internal bool IsSetTagSpecifications()
{
return this._tagSpecifications != null && this._tagSpecifications.Count > 0;
}
}
}