/*
* 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 emr-serverless-2021-07-13.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.EMRServerless.Model
{
///
/// A configuration specification to be used when provisioning an application. 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.
///
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.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
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.
///
///
[AWSProperty(Min=0, Max=100)]
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.
///
///
[AWSProperty(Sensitive=true, Min=0, Max=100)]
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;
}
}
}