/*
* 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 eks-2017-11-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.EKS.Model
{
///
/// A property that allows a node to repel a set of pods. For more information, see Node
/// taints on managed node groups.
///
public partial class Taint
{
private TaintEffect _effect;
private string _key;
private string _value;
///
/// Gets and sets the property Effect.
///
/// The effect of the taint.
///
///
public TaintEffect Effect
{
get { return this._effect; }
set { this._effect = value; }
}
// Check to see if Effect property is set
internal bool IsSetEffect()
{
return this._effect != null;
}
///
/// Gets and sets the property Key.
///
/// The key of the taint.
///
///
[AWSProperty(Min=1, Max=63)]
public string Key
{
get { return this._key; }
set { this._key = value; }
}
// Check to see if Key property is set
internal bool IsSetKey()
{
return this._key != null;
}
///
/// Gets and sets the property Value.
///
/// The value of the taint.
///
///
[AWSProperty(Min=0, Max=63)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}