/*
* 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 elasticmapreduce-2009-03-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.ElasticMapReduce.Model
{
///
///
///
/// Amazon EMR releases 4.x or later.
///
///
///
/// An optional configuration specification to be used when provisioning cluster instances,
/// which can include configurations for applications and software bundled with Amazon
/// EMR. A configuration consists of a classification, properties, and optional nested
/// configurations. A classification refers to an application-specific configuration file.
/// Properties are the settings you want to change in that file. For more information,
/// see Configuring
/// Applications.
///
///
public partial class Configuration
{
private string _classification;
private List _configurations = new List();
private Dictionary _properties = new Dictionary();
///
/// Gets and sets the property Classification.
///
/// The classification within a configuration.
///
///
public string Classification
{
get { return this._classification; }
set { this._classification = value; }
}
// Check to see if Classification property is set
internal bool IsSetClassification()
{
return this._classification != null;
}
///
/// Gets and sets the property Configurations.
///
/// A list of additional configurations to apply within a configuration object.
///
///
public List Configurations
{
get { return this._configurations; }
set { this._configurations = value; }
}
// Check to see if Configurations property is set
internal bool IsSetConfigurations()
{
return this._configurations != null && this._configurations.Count > 0;
}
///
/// Gets and sets the property Properties.
///
/// A set of properties specified within a configuration classification.
///
///
public Dictionary Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null && this._properties.Count > 0;
}
}
}