/*
* 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-containers-2020-10-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.EMRContainers
{
///
/// Constants used for properties of type ContainerProviderType.
///
public class ContainerProviderType : ConstantClass
{
///
/// Constant EKS for ContainerProviderType
///
public static readonly ContainerProviderType EKS = new ContainerProviderType("EKS");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ContainerProviderType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ContainerProviderType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ContainerProviderType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EndpointState.
///
public class EndpointState : ConstantClass
{
///
/// Constant ACTIVE for EndpointState
///
public static readonly EndpointState ACTIVE = new EndpointState("ACTIVE");
///
/// Constant CREATING for EndpointState
///
public static readonly EndpointState CREATING = new EndpointState("CREATING");
///
/// Constant TERMINATED for EndpointState
///
public static readonly EndpointState TERMINATED = new EndpointState("TERMINATED");
///
/// Constant TERMINATED_WITH_ERRORS for EndpointState
///
public static readonly EndpointState TERMINATED_WITH_ERRORS = new EndpointState("TERMINATED_WITH_ERRORS");
///
/// Constant TERMINATING for EndpointState
///
public static readonly EndpointState TERMINATING = new EndpointState("TERMINATING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public EndpointState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static EndpointState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator EndpointState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FailureReason.
///
public class FailureReason : ConstantClass
{
///
/// Constant CLUSTER_UNAVAILABLE for FailureReason
///
public static readonly FailureReason CLUSTER_UNAVAILABLE = new FailureReason("CLUSTER_UNAVAILABLE");
///
/// Constant INTERNAL_ERROR for FailureReason
///
public static readonly FailureReason INTERNAL_ERROR = new FailureReason("INTERNAL_ERROR");
///
/// Constant USER_ERROR for FailureReason
///
public static readonly FailureReason USER_ERROR = new FailureReason("USER_ERROR");
///
/// Constant VALIDATION_ERROR for FailureReason
///
public static readonly FailureReason VALIDATION_ERROR = new FailureReason("VALIDATION_ERROR");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public FailureReason(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FailureReason FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FailureReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobRunState.
///
public class JobRunState : ConstantClass
{
///
/// Constant CANCEL_PENDING for JobRunState
///
public static readonly JobRunState CANCEL_PENDING = new JobRunState("CANCEL_PENDING");
///
/// Constant CANCELLED for JobRunState
///
public static readonly JobRunState CANCELLED = new JobRunState("CANCELLED");
///
/// Constant COMPLETED for JobRunState
///
public static readonly JobRunState COMPLETED = new JobRunState("COMPLETED");
///
/// Constant FAILED for JobRunState
///
public static readonly JobRunState FAILED = new JobRunState("FAILED");
///
/// Constant PENDING for JobRunState
///
public static readonly JobRunState PENDING = new JobRunState("PENDING");
///
/// Constant RUNNING for JobRunState
///
public static readonly JobRunState RUNNING = new JobRunState("RUNNING");
///
/// Constant SUBMITTED for JobRunState
///
public static readonly JobRunState SUBMITTED = new JobRunState("SUBMITTED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public JobRunState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static JobRunState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator JobRunState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PersistentAppUI.
///
public class PersistentAppUI : ConstantClass
{
///
/// Constant DISABLED for PersistentAppUI
///
public static readonly PersistentAppUI DISABLED = new PersistentAppUI("DISABLED");
///
/// Constant ENABLED for PersistentAppUI
///
public static readonly PersistentAppUI ENABLED = new PersistentAppUI("ENABLED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public PersistentAppUI(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static PersistentAppUI FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator PersistentAppUI(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TemplateParameterDataType.
///
public class TemplateParameterDataType : ConstantClass
{
///
/// Constant NUMBER for TemplateParameterDataType
///
public static readonly TemplateParameterDataType NUMBER = new TemplateParameterDataType("NUMBER");
///
/// Constant STRING for TemplateParameterDataType
///
public static readonly TemplateParameterDataType STRING = new TemplateParameterDataType("STRING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public TemplateParameterDataType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static TemplateParameterDataType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator TemplateParameterDataType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualClusterState.
///
public class VirtualClusterState : ConstantClass
{
///
/// Constant ARRESTED for VirtualClusterState
///
public static readonly VirtualClusterState ARRESTED = new VirtualClusterState("ARRESTED");
///
/// Constant RUNNING for VirtualClusterState
///
public static readonly VirtualClusterState RUNNING = new VirtualClusterState("RUNNING");
///
/// Constant TERMINATED for VirtualClusterState
///
public static readonly VirtualClusterState TERMINATED = new VirtualClusterState("TERMINATED");
///
/// Constant TERMINATING for VirtualClusterState
///
public static readonly VirtualClusterState TERMINATING = new VirtualClusterState("TERMINATING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public VirtualClusterState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static VirtualClusterState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator VirtualClusterState(string value)
{
return FindValue(value);
}
}
}