/*
* 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 opensearch-2021-01-01.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.OpenSearchService.Model
{
///
/// The connection endpoint for connecting to an Amazon OpenSearch Service domain through
/// a proxy.
///
public partial class VpcEndpoint
{
private string _domainArn;
private string _endpoint;
private VpcEndpointStatus _status;
private string _vpcEndpointId;
private string _vpcEndpointOwner;
private VPCDerivedInfo _vpcOptions;
///
/// Gets and sets the property DomainArn.
///
/// The Amazon Resource Name (ARN) of the domain associated with the endpoint.
///
///
[AWSProperty(Min=1, Max=512)]
public string DomainArn
{
get { return this._domainArn; }
set { this._domainArn = value; }
}
// Check to see if DomainArn property is set
internal bool IsSetDomainArn()
{
return this._domainArn != null;
}
///
/// Gets and sets the property Endpoint.
///
/// The connection endpoint ID for connecting to the domain.
///
///
public string Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
///
/// Gets and sets the property Status.
///
/// The current status of the endpoint.
///
///
public VpcEndpointStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property VpcEndpointId.
///
/// The unique identifier of the endpoint.
///
///
[AWSProperty(Min=5, Max=256)]
public string VpcEndpointId
{
get { return this._vpcEndpointId; }
set { this._vpcEndpointId = value; }
}
// Check to see if VpcEndpointId property is set
internal bool IsSetVpcEndpointId()
{
return this._vpcEndpointId != null;
}
///
/// Gets and sets the property VpcEndpointOwner.
///
/// The creator of the endpoint.
///
///
public string VpcEndpointOwner
{
get { return this._vpcEndpointOwner; }
set { this._vpcEndpointOwner = value; }
}
// Check to see if VpcEndpointOwner property is set
internal bool IsSetVpcEndpointOwner()
{
return this._vpcEndpointOwner != null;
}
///
/// Gets and sets the property VpcOptions.
///
/// Options to specify the subnets and security groups for an Amazon OpenSearch Service
/// VPC endpoint.
///
///
public VPCDerivedInfo VpcOptions
{
get { return this._vpcOptions; }
set { this._vpcOptions = value; }
}
// Check to see if VpcOptions property is set
internal bool IsSetVpcOptions()
{
return this._vpcOptions != null;
}
}
}