/*
* 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 rds-2014-10-31.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.RDS.Model
{
///
/// This data type represents the information you need to connect to an Amazon Aurora
/// DB cluster. This data type is used as a response element in the following actions:
///
/// -
///
///
CreateDBClusterEndpoint
///
/// -
///
///
DescribeDBClusterEndpoints
///
/// -
///
///
ModifyDBClusterEndpoint
///
/// -
///
///
DeleteDBClusterEndpoint
///
///
///
/// For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint
.
///
///
public partial class DBClusterEndpoint
{
private string _customEndpointType;
private string _dbClusterEndpointArn;
private string _dbClusterEndpointIdentifier;
private string _dbClusterEndpointResourceIdentifier;
private string _dbClusterIdentifier;
private string _endpoint;
private string _endpointType;
private List _excludedMembers = new List();
private List _staticMembers = new List();
private string _status;
///
/// Gets and sets the property CustomEndpointType.
///
/// The type associated with a custom endpoint. One of: READER
, WRITER
,
/// ANY
.
///
///
public string CustomEndpointType
{
get { return this._customEndpointType; }
set { this._customEndpointType = value; }
}
// Check to see if CustomEndpointType property is set
internal bool IsSetCustomEndpointType()
{
return this._customEndpointType != null;
}
///
/// Gets and sets the property DBClusterEndpointArn.
///
/// The Amazon Resource Name (ARN) for the endpoint.
///
///
public string DBClusterEndpointArn
{
get { return this._dbClusterEndpointArn; }
set { this._dbClusterEndpointArn = value; }
}
// Check to see if DBClusterEndpointArn property is set
internal bool IsSetDBClusterEndpointArn()
{
return this._dbClusterEndpointArn != null;
}
///
/// Gets and sets the property DBClusterEndpointIdentifier.
///
/// The identifier associated with the endpoint. This parameter is stored as a lowercase
/// string.
///
///
public string DBClusterEndpointIdentifier
{
get { return this._dbClusterEndpointIdentifier; }
set { this._dbClusterEndpointIdentifier = value; }
}
// Check to see if DBClusterEndpointIdentifier property is set
internal bool IsSetDBClusterEndpointIdentifier()
{
return this._dbClusterEndpointIdentifier != null;
}
///
/// Gets and sets the property DBClusterEndpointResourceIdentifier.
///
/// A unique system-generated identifier for an endpoint. It remains the same for the
/// whole life of the endpoint.
///
///
public string DBClusterEndpointResourceIdentifier
{
get { return this._dbClusterEndpointResourceIdentifier; }
set { this._dbClusterEndpointResourceIdentifier = value; }
}
// Check to see if DBClusterEndpointResourceIdentifier property is set
internal bool IsSetDBClusterEndpointResourceIdentifier()
{
return this._dbClusterEndpointResourceIdentifier != null;
}
///
/// Gets and sets the property DBClusterIdentifier.
///
/// The DB cluster identifier of the DB cluster associated with the endpoint. This parameter
/// is stored as a lowercase string.
///
///
public string DBClusterIdentifier
{
get { return this._dbClusterIdentifier; }
set { this._dbClusterIdentifier = value; }
}
// Check to see if DBClusterIdentifier property is set
internal bool IsSetDBClusterIdentifier()
{
return this._dbClusterIdentifier != null;
}
///
/// Gets and sets the property Endpoint.
///
/// The DNS address of the endpoint.
///
///
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 EndpointType.
///
/// The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
///
///
public string EndpointType
{
get { return this._endpointType; }
set { this._endpointType = value; }
}
// Check to see if EndpointType property is set
internal bool IsSetEndpointType()
{
return this._endpointType != null;
}
///
/// Gets and sets the property ExcludedMembers.
///
/// List of DB instance identifiers that aren't part of the custom endpoint group. All
/// other eligible instances are reachable through the custom endpoint. Only relevant
/// if the list of static members is empty.
///
///
public List ExcludedMembers
{
get { return this._excludedMembers; }
set { this._excludedMembers = value; }
}
// Check to see if ExcludedMembers property is set
internal bool IsSetExcludedMembers()
{
return this._excludedMembers != null && this._excludedMembers.Count > 0;
}
///
/// Gets and sets the property StaticMembers.
///
/// List of DB instance identifiers that are part of the custom endpoint group.
///
///
public List StaticMembers
{
get { return this._staticMembers; }
set { this._staticMembers = value; }
}
// Check to see if StaticMembers property is set
internal bool IsSetStaticMembers()
{
return this._staticMembers != null && this._staticMembers.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The current status of the endpoint. One of: creating
, available
,
/// deleting
, inactive
, modifying
. The inactive
/// state applies to an endpoint that can't be used for a certain kind of cluster, such
/// as a writer
endpoint for a read-only secondary cluster in a global database.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}