/*
* 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 dax-2017-04-19.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.DAX.Model
{
///
/// Container for the parameters to the UpdateCluster operation.
/// Modifies the settings for a DAX cluster. You can use this action to change one or
/// more cluster configuration parameters by specifying the parameters and the new values.
///
public partial class UpdateClusterRequest : AmazonDAXRequest
{
private string _clusterName;
private string _description;
private string _notificationTopicArn;
private string _notificationTopicStatus;
private string _parameterGroupName;
private string _preferredMaintenanceWindow;
private List _securityGroupIds = new List();
///
/// Gets and sets the property ClusterName.
///
/// The name of the DAX cluster to be modified.
///
///
[AWSProperty(Required=true)]
public string ClusterName
{
get { return this._clusterName; }
set { this._clusterName = value; }
}
// Check to see if ClusterName property is set
internal bool IsSetClusterName()
{
return this._clusterName != null;
}
///
/// Gets and sets the property Description.
///
/// A description of the changes being made to the cluster.
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property NotificationTopicArn.
///
/// The Amazon Resource Name (ARN) that identifies the topic.
///
///
public string NotificationTopicArn
{
get { return this._notificationTopicArn; }
set { this._notificationTopicArn = value; }
}
// Check to see if NotificationTopicArn property is set
internal bool IsSetNotificationTopicArn()
{
return this._notificationTopicArn != null;
}
///
/// Gets and sets the property NotificationTopicStatus.
///
/// The current state of the topic. A value of “active” means that notifications will
/// be sent to the topic. A value of “inactive” means that notifications will not be sent
/// to the topic.
///
///
public string NotificationTopicStatus
{
get { return this._notificationTopicStatus; }
set { this._notificationTopicStatus = value; }
}
// Check to see if NotificationTopicStatus property is set
internal bool IsSetNotificationTopicStatus()
{
return this._notificationTopicStatus != null;
}
///
/// Gets and sets the property ParameterGroupName.
///
/// The name of a parameter group for this cluster.
///
///
public string ParameterGroupName
{
get { return this._parameterGroupName; }
set { this._parameterGroupName = value; }
}
// Check to see if ParameterGroupName property is set
internal bool IsSetParameterGroupName()
{
return this._parameterGroupName != null;
}
///
/// Gets and sets the property PreferredMaintenanceWindow.
///
/// A range of time when maintenance of DAX cluster software will be performed. For example:
/// sun:01:00-sun:09:00
. Cluster maintenance normally takes less than 30
/// minutes, and is performed automatically within the maintenance window.
///
///
public string PreferredMaintenanceWindow
{
get { return this._preferredMaintenanceWindow; }
set { this._preferredMaintenanceWindow = value; }
}
// Check to see if PreferredMaintenanceWindow property is set
internal bool IsSetPreferredMaintenanceWindow()
{
return this._preferredMaintenanceWindow != null;
}
///
/// Gets and sets the property SecurityGroupIds.
///
/// A list of user-specified security group IDs to be assigned to each node in the DAX
/// cluster. If this parameter is not specified, DAX assigns the default VPC security
/// group to each node.
///
///
public List SecurityGroupIds
{
get { return this._securityGroupIds; }
set { this._securityGroupIds = value; }
}
// Check to see if SecurityGroupIds property is set
internal bool IsSetSecurityGroupIds()
{
return this._securityGroupIds != null && this._securityGroupIds.Count > 0;
}
}
}