/*
* 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 RebootNode operation.
/// Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible.
/// During the reboot, the node status is set to REBOOTING.
///
///
///
/// RebootNode
restarts the DAX engine process and does not remove the contents
/// of the cache.
///
///
///
public partial class RebootNodeRequest : AmazonDAXRequest
{
private string _clusterName;
private string _nodeId;
///
/// Gets and sets the property ClusterName.
///
/// The name of the DAX cluster containing the node to be rebooted.
///
///
[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 NodeId.
///
/// The system-assigned ID of the node to be rebooted.
///
///
[AWSProperty(Required=true)]
public string NodeId
{
get { return this._nodeId; }
set { this._nodeId = value; }
}
// Check to see if NodeId property is set
internal bool IsSetNodeId()
{
return this._nodeId != null;
}
}
}