/*
* 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 neptune-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.Neptune.Model
{
///
/// Container for the parameters to the CreateDBClusterEndpoint operation.
/// Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
///
public partial class CreateDBClusterEndpointRequest : AmazonNeptuneRequest
{
private string _dbClusterEndpointIdentifier;
private string _dbClusterIdentifier;
private string _endpointType;
private List _excludedMembers = new List();
private List _staticMembers = new List();
private List _tags = new List();
///
/// Gets and sets the property DBClusterEndpointIdentifier.
///
/// The identifier to use for the new endpoint. This parameter is stored as a lowercase
/// string.
///
///
[AWSProperty(Required=true)]
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 DBClusterIdentifier.
///
/// The DB cluster identifier of the DB cluster associated with the endpoint. This parameter
/// is stored as a lowercase string.
///
///
[AWSProperty(Required=true)]
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 EndpointType.
///
/// The type of the endpoint. One of: READER
, WRITER
, ANY
.
///
///
[AWSProperty(Required=true)]
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 Tags.
///
/// The tags to be assigned to the Amazon Neptune resource.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}