/*
* 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 Amazon.Runtime;
namespace Amazon.ElasticMapReduce
{
///
/// Constants used for properties of type ActionOnFailure.
///
public class ActionOnFailure : ConstantClass
{
///
/// Constant CANCEL_AND_WAIT for ActionOnFailure
///
public static readonly ActionOnFailure CANCEL_AND_WAIT = new ActionOnFailure("CANCEL_AND_WAIT");
///
/// Constant CONTINUE for ActionOnFailure
///
public static readonly ActionOnFailure CONTINUE = new ActionOnFailure("CONTINUE");
///
/// Constant TERMINATE_CLUSTER for ActionOnFailure
///
public static readonly ActionOnFailure TERMINATE_CLUSTER = new ActionOnFailure("TERMINATE_CLUSTER");
///
/// Constant TERMINATE_JOB_FLOW for ActionOnFailure
///
public static readonly ActionOnFailure TERMINATE_JOB_FLOW = new ActionOnFailure("TERMINATE_JOB_FLOW");
///
/// 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 ActionOnFailure(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 ActionOnFailure 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 ActionOnFailure(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AdjustmentType.
///
public class AdjustmentType : ConstantClass
{
///
/// Constant CHANGE_IN_CAPACITY for AdjustmentType
///
public static readonly AdjustmentType CHANGE_IN_CAPACITY = new AdjustmentType("CHANGE_IN_CAPACITY");
///
/// Constant EXACT_CAPACITY for AdjustmentType
///
public static readonly AdjustmentType EXACT_CAPACITY = new AdjustmentType("EXACT_CAPACITY");
///
/// Constant PERCENT_CHANGE_IN_CAPACITY for AdjustmentType
///
public static readonly AdjustmentType PERCENT_CHANGE_IN_CAPACITY = new AdjustmentType("PERCENT_CHANGE_IN_CAPACITY");
///
/// 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 AdjustmentType(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 AdjustmentType 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 AdjustmentType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthMode.
///
public class AuthMode : ConstantClass
{
///
/// Constant IAM for AuthMode
///
public static readonly AuthMode IAM = new AuthMode("IAM");
///
/// Constant SSO for AuthMode
///
public static readonly AuthMode SSO = new AuthMode("SSO");
///
/// 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 AuthMode(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 AuthMode 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 AuthMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AutoScalingPolicyState.
///
public class AutoScalingPolicyState : ConstantClass
{
///
/// Constant ATTACHED for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState ATTACHED = new AutoScalingPolicyState("ATTACHED");
///
/// Constant ATTACHING for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState ATTACHING = new AutoScalingPolicyState("ATTACHING");
///
/// Constant DETACHED for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState DETACHED = new AutoScalingPolicyState("DETACHED");
///
/// Constant DETACHING for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState DETACHING = new AutoScalingPolicyState("DETACHING");
///
/// Constant FAILED for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState FAILED = new AutoScalingPolicyState("FAILED");
///
/// Constant PENDING for AutoScalingPolicyState
///
public static readonly AutoScalingPolicyState PENDING = new AutoScalingPolicyState("PENDING");
///
/// 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 AutoScalingPolicyState(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 AutoScalingPolicyState 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 AutoScalingPolicyState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AutoScalingPolicyStateChangeReasonCode.
///
public class AutoScalingPolicyStateChangeReasonCode : ConstantClass
{
///
/// Constant CLEANUP_FAILURE for AutoScalingPolicyStateChangeReasonCode
///
public static readonly AutoScalingPolicyStateChangeReasonCode CLEANUP_FAILURE = new AutoScalingPolicyStateChangeReasonCode("CLEANUP_FAILURE");
///
/// Constant PROVISION_FAILURE for AutoScalingPolicyStateChangeReasonCode
///
public static readonly AutoScalingPolicyStateChangeReasonCode PROVISION_FAILURE = new AutoScalingPolicyStateChangeReasonCode("PROVISION_FAILURE");
///
/// Constant USER_REQUEST for AutoScalingPolicyStateChangeReasonCode
///
public static readonly AutoScalingPolicyStateChangeReasonCode USER_REQUEST = new AutoScalingPolicyStateChangeReasonCode("USER_REQUEST");
///
/// 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 AutoScalingPolicyStateChangeReasonCode(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 AutoScalingPolicyStateChangeReasonCode 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 AutoScalingPolicyStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CancelStepsRequestStatus.
///
public class CancelStepsRequestStatus : ConstantClass
{
///
/// Constant FAILED for CancelStepsRequestStatus
///
public static readonly CancelStepsRequestStatus FAILED = new CancelStepsRequestStatus("FAILED");
///
/// Constant SUBMITTED for CancelStepsRequestStatus
///
public static readonly CancelStepsRequestStatus SUBMITTED = new CancelStepsRequestStatus("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 CancelStepsRequestStatus(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 CancelStepsRequestStatus 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 CancelStepsRequestStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ClusterState.
///
public class ClusterState : ConstantClass
{
///
/// Constant BOOTSTRAPPING for ClusterState
///
public static readonly ClusterState BOOTSTRAPPING = new ClusterState("BOOTSTRAPPING");
///
/// Constant RUNNING for ClusterState
///
public static readonly ClusterState RUNNING = new ClusterState("RUNNING");
///
/// Constant STARTING for ClusterState
///
public static readonly ClusterState STARTING = new ClusterState("STARTING");
///
/// Constant TERMINATED for ClusterState
///
public static readonly ClusterState TERMINATED = new ClusterState("TERMINATED");
///
/// Constant TERMINATED_WITH_ERRORS for ClusterState
///
public static readonly ClusterState TERMINATED_WITH_ERRORS = new ClusterState("TERMINATED_WITH_ERRORS");
///
/// Constant TERMINATING for ClusterState
///
public static readonly ClusterState TERMINATING = new ClusterState("TERMINATING");
///
/// Constant WAITING for ClusterState
///
public static readonly ClusterState WAITING = new ClusterState("WAITING");
///
/// 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 ClusterState(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 ClusterState 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 ClusterState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ClusterStateChangeReasonCode.
///
public class ClusterStateChangeReasonCode : ConstantClass
{
///
/// Constant ALL_STEPS_COMPLETED for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode ALL_STEPS_COMPLETED = new ClusterStateChangeReasonCode("ALL_STEPS_COMPLETED");
///
/// Constant BOOTSTRAP_FAILURE for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode BOOTSTRAP_FAILURE = new ClusterStateChangeReasonCode("BOOTSTRAP_FAILURE");
///
/// Constant INSTANCE_FAILURE for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode INSTANCE_FAILURE = new ClusterStateChangeReasonCode("INSTANCE_FAILURE");
///
/// Constant INSTANCE_FLEET_TIMEOUT for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode INSTANCE_FLEET_TIMEOUT = new ClusterStateChangeReasonCode("INSTANCE_FLEET_TIMEOUT");
///
/// Constant INTERNAL_ERROR for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode INTERNAL_ERROR = new ClusterStateChangeReasonCode("INTERNAL_ERROR");
///
/// Constant STEP_FAILURE for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode STEP_FAILURE = new ClusterStateChangeReasonCode("STEP_FAILURE");
///
/// Constant USER_REQUEST for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode USER_REQUEST = new ClusterStateChangeReasonCode("USER_REQUEST");
///
/// Constant VALIDATION_ERROR for ClusterStateChangeReasonCode
///
public static readonly ClusterStateChangeReasonCode VALIDATION_ERROR = new ClusterStateChangeReasonCode("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 ClusterStateChangeReasonCode(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 ClusterStateChangeReasonCode 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 ClusterStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ComparisonOperator.
///
public class ComparisonOperator : ConstantClass
{
///
/// Constant GREATER_THAN for ComparisonOperator
///
public static readonly ComparisonOperator GREATER_THAN = new ComparisonOperator("GREATER_THAN");
///
/// Constant GREATER_THAN_OR_EQUAL for ComparisonOperator
///
public static readonly ComparisonOperator GREATER_THAN_OR_EQUAL = new ComparisonOperator("GREATER_THAN_OR_EQUAL");
///
/// Constant LESS_THAN for ComparisonOperator
///
public static readonly ComparisonOperator LESS_THAN = new ComparisonOperator("LESS_THAN");
///
/// Constant LESS_THAN_OR_EQUAL for ComparisonOperator
///
public static readonly ComparisonOperator LESS_THAN_OR_EQUAL = new ComparisonOperator("LESS_THAN_OR_EQUAL");
///
/// 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 ComparisonOperator(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 ComparisonOperator 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 ComparisonOperator(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ComputeLimitsUnitType.
///
public class ComputeLimitsUnitType : ConstantClass
{
///
/// Constant InstanceFleetUnits for ComputeLimitsUnitType
///
public static readonly ComputeLimitsUnitType InstanceFleetUnits = new ComputeLimitsUnitType("InstanceFleetUnits");
///
/// Constant Instances for ComputeLimitsUnitType
///
public static readonly ComputeLimitsUnitType Instances = new ComputeLimitsUnitType("Instances");
///
/// Constant VCPU for ComputeLimitsUnitType
///
public static readonly ComputeLimitsUnitType VCPU = new ComputeLimitsUnitType("VCPU");
///
/// 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 ComputeLimitsUnitType(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 ComputeLimitsUnitType 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 ComputeLimitsUnitType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ExecutionEngineType.
///
public class ExecutionEngineType : ConstantClass
{
///
/// Constant EMR for ExecutionEngineType
///
public static readonly ExecutionEngineType EMR = new ExecutionEngineType("EMR");
///
/// 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 ExecutionEngineType(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 ExecutionEngineType 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 ExecutionEngineType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IdentityType.
///
public class IdentityType : ConstantClass
{
///
/// Constant GROUP for IdentityType
///
public static readonly IdentityType GROUP = new IdentityType("GROUP");
///
/// Constant USER for IdentityType
///
public static readonly IdentityType USER = new IdentityType("USER");
///
/// 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 IdentityType(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 IdentityType 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 IdentityType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceCollectionType.
///
public class InstanceCollectionType : ConstantClass
{
///
/// Constant INSTANCE_FLEET for InstanceCollectionType
///
public static readonly InstanceCollectionType INSTANCE_FLEET = new InstanceCollectionType("INSTANCE_FLEET");
///
/// Constant INSTANCE_GROUP for InstanceCollectionType
///
public static readonly InstanceCollectionType INSTANCE_GROUP = new InstanceCollectionType("INSTANCE_GROUP");
///
/// 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 InstanceCollectionType(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 InstanceCollectionType 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 InstanceCollectionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceFleetState.
///
public class InstanceFleetState : ConstantClass
{
///
/// Constant BOOTSTRAPPING for InstanceFleetState
///
public static readonly InstanceFleetState BOOTSTRAPPING = new InstanceFleetState("BOOTSTRAPPING");
///
/// Constant PROVISIONING for InstanceFleetState
///
public static readonly InstanceFleetState PROVISIONING = new InstanceFleetState("PROVISIONING");
///
/// Constant RESIZING for InstanceFleetState
///
public static readonly InstanceFleetState RESIZING = new InstanceFleetState("RESIZING");
///
/// Constant RUNNING for InstanceFleetState
///
public static readonly InstanceFleetState RUNNING = new InstanceFleetState("RUNNING");
///
/// Constant SUSPENDED for InstanceFleetState
///
public static readonly InstanceFleetState SUSPENDED = new InstanceFleetState("SUSPENDED");
///
/// Constant TERMINATED for InstanceFleetState
///
public static readonly InstanceFleetState TERMINATED = new InstanceFleetState("TERMINATED");
///
/// Constant TERMINATING for InstanceFleetState
///
public static readonly InstanceFleetState TERMINATING = new InstanceFleetState("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 InstanceFleetState(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 InstanceFleetState 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 InstanceFleetState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceFleetStateChangeReasonCode.
///
public class InstanceFleetStateChangeReasonCode : ConstantClass
{
///
/// Constant CLUSTER_TERMINATED for InstanceFleetStateChangeReasonCode
///
public static readonly InstanceFleetStateChangeReasonCode CLUSTER_TERMINATED = new InstanceFleetStateChangeReasonCode("CLUSTER_TERMINATED");
///
/// Constant INSTANCE_FAILURE for InstanceFleetStateChangeReasonCode
///
public static readonly InstanceFleetStateChangeReasonCode INSTANCE_FAILURE = new InstanceFleetStateChangeReasonCode("INSTANCE_FAILURE");
///
/// Constant INTERNAL_ERROR for InstanceFleetStateChangeReasonCode
///
public static readonly InstanceFleetStateChangeReasonCode INTERNAL_ERROR = new InstanceFleetStateChangeReasonCode("INTERNAL_ERROR");
///
/// Constant VALIDATION_ERROR for InstanceFleetStateChangeReasonCode
///
public static readonly InstanceFleetStateChangeReasonCode VALIDATION_ERROR = new InstanceFleetStateChangeReasonCode("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 InstanceFleetStateChangeReasonCode(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 InstanceFleetStateChangeReasonCode 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 InstanceFleetStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceFleetType.
///
public class InstanceFleetType : ConstantClass
{
///
/// Constant CORE for InstanceFleetType
///
public static readonly InstanceFleetType CORE = new InstanceFleetType("CORE");
///
/// Constant MASTER for InstanceFleetType
///
public static readonly InstanceFleetType MASTER = new InstanceFleetType("MASTER");
///
/// Constant TASK for InstanceFleetType
///
public static readonly InstanceFleetType TASK = new InstanceFleetType("TASK");
///
/// 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 InstanceFleetType(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 InstanceFleetType 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 InstanceFleetType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceGroupState.
///
public class InstanceGroupState : ConstantClass
{
///
/// Constant ARRESTED for InstanceGroupState
///
public static readonly InstanceGroupState ARRESTED = new InstanceGroupState("ARRESTED");
///
/// Constant BOOTSTRAPPING for InstanceGroupState
///
public static readonly InstanceGroupState BOOTSTRAPPING = new InstanceGroupState("BOOTSTRAPPING");
///
/// Constant ENDED for InstanceGroupState
///
public static readonly InstanceGroupState ENDED = new InstanceGroupState("ENDED");
///
/// Constant PROVISIONING for InstanceGroupState
///
public static readonly InstanceGroupState PROVISIONING = new InstanceGroupState("PROVISIONING");
///
/// Constant RECONFIGURING for InstanceGroupState
///
public static readonly InstanceGroupState RECONFIGURING = new InstanceGroupState("RECONFIGURING");
///
/// Constant RESIZING for InstanceGroupState
///
public static readonly InstanceGroupState RESIZING = new InstanceGroupState("RESIZING");
///
/// Constant RUNNING for InstanceGroupState
///
public static readonly InstanceGroupState RUNNING = new InstanceGroupState("RUNNING");
///
/// Constant SHUTTING_DOWN for InstanceGroupState
///
public static readonly InstanceGroupState SHUTTING_DOWN = new InstanceGroupState("SHUTTING_DOWN");
///
/// Constant SUSPENDED for InstanceGroupState
///
public static readonly InstanceGroupState SUSPENDED = new InstanceGroupState("SUSPENDED");
///
/// Constant TERMINATED for InstanceGroupState
///
public static readonly InstanceGroupState TERMINATED = new InstanceGroupState("TERMINATED");
///
/// Constant TERMINATING for InstanceGroupState
///
public static readonly InstanceGroupState TERMINATING = new InstanceGroupState("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 InstanceGroupState(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 InstanceGroupState 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 InstanceGroupState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceGroupStateChangeReasonCode.
///
public class InstanceGroupStateChangeReasonCode : ConstantClass
{
///
/// Constant CLUSTER_TERMINATED for InstanceGroupStateChangeReasonCode
///
public static readonly InstanceGroupStateChangeReasonCode CLUSTER_TERMINATED = new InstanceGroupStateChangeReasonCode("CLUSTER_TERMINATED");
///
/// Constant INSTANCE_FAILURE for InstanceGroupStateChangeReasonCode
///
public static readonly InstanceGroupStateChangeReasonCode INSTANCE_FAILURE = new InstanceGroupStateChangeReasonCode("INSTANCE_FAILURE");
///
/// Constant INTERNAL_ERROR for InstanceGroupStateChangeReasonCode
///
public static readonly InstanceGroupStateChangeReasonCode INTERNAL_ERROR = new InstanceGroupStateChangeReasonCode("INTERNAL_ERROR");
///
/// Constant VALIDATION_ERROR for InstanceGroupStateChangeReasonCode
///
public static readonly InstanceGroupStateChangeReasonCode VALIDATION_ERROR = new InstanceGroupStateChangeReasonCode("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 InstanceGroupStateChangeReasonCode(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 InstanceGroupStateChangeReasonCode 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 InstanceGroupStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceGroupType.
///
public class InstanceGroupType : ConstantClass
{
///
/// Constant CORE for InstanceGroupType
///
public static readonly InstanceGroupType CORE = new InstanceGroupType("CORE");
///
/// Constant MASTER for InstanceGroupType
///
public static readonly InstanceGroupType MASTER = new InstanceGroupType("MASTER");
///
/// Constant TASK for InstanceGroupType
///
public static readonly InstanceGroupType TASK = new InstanceGroupType("TASK");
///
/// 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 InstanceGroupType(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 InstanceGroupType 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 InstanceGroupType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceRoleType.
///
public class InstanceRoleType : ConstantClass
{
///
/// Constant CORE for InstanceRoleType
///
public static readonly InstanceRoleType CORE = new InstanceRoleType("CORE");
///
/// Constant MASTER for InstanceRoleType
///
public static readonly InstanceRoleType MASTER = new InstanceRoleType("MASTER");
///
/// Constant TASK for InstanceRoleType
///
public static readonly InstanceRoleType TASK = new InstanceRoleType("TASK");
///
/// 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 InstanceRoleType(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 InstanceRoleType 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 InstanceRoleType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceState.
///
public class InstanceState : ConstantClass
{
///
/// Constant AWAITING_FULFILLMENT for InstanceState
///
public static readonly InstanceState AWAITING_FULFILLMENT = new InstanceState("AWAITING_FULFILLMENT");
///
/// Constant BOOTSTRAPPING for InstanceState
///
public static readonly InstanceState BOOTSTRAPPING = new InstanceState("BOOTSTRAPPING");
///
/// Constant PROVISIONING for InstanceState
///
public static readonly InstanceState PROVISIONING = new InstanceState("PROVISIONING");
///
/// Constant RUNNING for InstanceState
///
public static readonly InstanceState RUNNING = new InstanceState("RUNNING");
///
/// Constant TERMINATED for InstanceState
///
public static readonly InstanceState TERMINATED = new InstanceState("TERMINATED");
///
/// 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 InstanceState(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 InstanceState 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 InstanceState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceStateChangeReasonCode.
///
public class InstanceStateChangeReasonCode : ConstantClass
{
///
/// Constant BOOTSTRAP_FAILURE for InstanceStateChangeReasonCode
///
public static readonly InstanceStateChangeReasonCode BOOTSTRAP_FAILURE = new InstanceStateChangeReasonCode("BOOTSTRAP_FAILURE");
///
/// Constant CLUSTER_TERMINATED for InstanceStateChangeReasonCode
///
public static readonly InstanceStateChangeReasonCode CLUSTER_TERMINATED = new InstanceStateChangeReasonCode("CLUSTER_TERMINATED");
///
/// Constant INSTANCE_FAILURE for InstanceStateChangeReasonCode
///
public static readonly InstanceStateChangeReasonCode INSTANCE_FAILURE = new InstanceStateChangeReasonCode("INSTANCE_FAILURE");
///
/// Constant INTERNAL_ERROR for InstanceStateChangeReasonCode
///
public static readonly InstanceStateChangeReasonCode INTERNAL_ERROR = new InstanceStateChangeReasonCode("INTERNAL_ERROR");
///
/// Constant VALIDATION_ERROR for InstanceStateChangeReasonCode
///
public static readonly InstanceStateChangeReasonCode VALIDATION_ERROR = new InstanceStateChangeReasonCode("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 InstanceStateChangeReasonCode(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 InstanceStateChangeReasonCode 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 InstanceStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobFlowExecutionState.
///
public class JobFlowExecutionState : ConstantClass
{
///
/// Constant BOOTSTRAPPING for JobFlowExecutionState
///
public static readonly JobFlowExecutionState BOOTSTRAPPING = new JobFlowExecutionState("BOOTSTRAPPING");
///
/// Constant COMPLETED for JobFlowExecutionState
///
public static readonly JobFlowExecutionState COMPLETED = new JobFlowExecutionState("COMPLETED");
///
/// Constant FAILED for JobFlowExecutionState
///
public static readonly JobFlowExecutionState FAILED = new JobFlowExecutionState("FAILED");
///
/// Constant RUNNING for JobFlowExecutionState
///
public static readonly JobFlowExecutionState RUNNING = new JobFlowExecutionState("RUNNING");
///
/// Constant SHUTTING_DOWN for JobFlowExecutionState
///
public static readonly JobFlowExecutionState SHUTTING_DOWN = new JobFlowExecutionState("SHUTTING_DOWN");
///
/// Constant STARTING for JobFlowExecutionState
///
public static readonly JobFlowExecutionState STARTING = new JobFlowExecutionState("STARTING");
///
/// Constant TERMINATED for JobFlowExecutionState
///
public static readonly JobFlowExecutionState TERMINATED = new JobFlowExecutionState("TERMINATED");
///
/// Constant WAITING for JobFlowExecutionState
///
public static readonly JobFlowExecutionState WAITING = new JobFlowExecutionState("WAITING");
///
/// 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 JobFlowExecutionState(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 JobFlowExecutionState 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 JobFlowExecutionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MarketType.
///
public class MarketType : ConstantClass
{
///
/// Constant ON_DEMAND for MarketType
///
public static readonly MarketType ON_DEMAND = new MarketType("ON_DEMAND");
///
/// Constant SPOT for MarketType
///
public static readonly MarketType SPOT = new MarketType("SPOT");
///
/// 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 MarketType(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 MarketType 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 MarketType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NotebookExecutionStatus.
///
public class NotebookExecutionStatus : ConstantClass
{
///
/// Constant FAILED for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus FAILED = new NotebookExecutionStatus("FAILED");
///
/// Constant FAILING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus FAILING = new NotebookExecutionStatus("FAILING");
///
/// Constant FINISHED for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus FINISHED = new NotebookExecutionStatus("FINISHED");
///
/// Constant FINISHING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus FINISHING = new NotebookExecutionStatus("FINISHING");
///
/// Constant RUNNING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus RUNNING = new NotebookExecutionStatus("RUNNING");
///
/// Constant START_PENDING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus START_PENDING = new NotebookExecutionStatus("START_PENDING");
///
/// Constant STARTING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus STARTING = new NotebookExecutionStatus("STARTING");
///
/// Constant STOP_PENDING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus STOP_PENDING = new NotebookExecutionStatus("STOP_PENDING");
///
/// Constant STOPPED for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus STOPPED = new NotebookExecutionStatus("STOPPED");
///
/// Constant STOPPING for NotebookExecutionStatus
///
public static readonly NotebookExecutionStatus STOPPING = new NotebookExecutionStatus("STOPPING");
///
/// 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 NotebookExecutionStatus(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 NotebookExecutionStatus 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 NotebookExecutionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OnDemandCapacityReservationPreference.
///
public class OnDemandCapacityReservationPreference : ConstantClass
{
///
/// Constant None for OnDemandCapacityReservationPreference
///
public static readonly OnDemandCapacityReservationPreference None = new OnDemandCapacityReservationPreference("none");
///
/// Constant Open for OnDemandCapacityReservationPreference
///
public static readonly OnDemandCapacityReservationPreference Open = new OnDemandCapacityReservationPreference("open");
///
/// 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 OnDemandCapacityReservationPreference(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 OnDemandCapacityReservationPreference 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 OnDemandCapacityReservationPreference(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OnDemandCapacityReservationUsageStrategy.
///
public class OnDemandCapacityReservationUsageStrategy : ConstantClass
{
///
/// Constant UseCapacityReservationsFirst for OnDemandCapacityReservationUsageStrategy
///
public static readonly OnDemandCapacityReservationUsageStrategy UseCapacityReservationsFirst = new OnDemandCapacityReservationUsageStrategy("use-capacity-reservations-first");
///
/// 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 OnDemandCapacityReservationUsageStrategy(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 OnDemandCapacityReservationUsageStrategy 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 OnDemandCapacityReservationUsageStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OnDemandProvisioningAllocationStrategy.
///
public class OnDemandProvisioningAllocationStrategy : ConstantClass
{
///
/// Constant LowestPrice for OnDemandProvisioningAllocationStrategy
///
public static readonly OnDemandProvisioningAllocationStrategy LowestPrice = new OnDemandProvisioningAllocationStrategy("lowest-price");
///
/// 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 OnDemandProvisioningAllocationStrategy(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 OnDemandProvisioningAllocationStrategy 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 OnDemandProvisioningAllocationStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OutputNotebookFormat.
///
public class OutputNotebookFormat : ConstantClass
{
///
/// Constant HTML for OutputNotebookFormat
///
public static readonly OutputNotebookFormat HTML = new OutputNotebookFormat("HTML");
///
/// 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 OutputNotebookFormat(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 OutputNotebookFormat 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 OutputNotebookFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PlacementGroupStrategy.
///
public class PlacementGroupStrategy : ConstantClass
{
///
/// Constant CLUSTER for PlacementGroupStrategy
///
public static readonly PlacementGroupStrategy CLUSTER = new PlacementGroupStrategy("CLUSTER");
///
/// Constant NONE for PlacementGroupStrategy
///
public static readonly PlacementGroupStrategy NONE = new PlacementGroupStrategy("NONE");
///
/// Constant PARTITION for PlacementGroupStrategy
///
public static readonly PlacementGroupStrategy PARTITION = new PlacementGroupStrategy("PARTITION");
///
/// Constant SPREAD for PlacementGroupStrategy
///
public static readonly PlacementGroupStrategy SPREAD = new PlacementGroupStrategy("SPREAD");
///
/// 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 PlacementGroupStrategy(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 PlacementGroupStrategy 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 PlacementGroupStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReconfigurationType.
///
public class ReconfigurationType : ConstantClass
{
///
/// Constant MERGE for ReconfigurationType
///
public static readonly ReconfigurationType MERGE = new ReconfigurationType("MERGE");
///
/// Constant OVERWRITE for ReconfigurationType
///
public static readonly ReconfigurationType OVERWRITE = new ReconfigurationType("OVERWRITE");
///
/// 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 ReconfigurationType(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 ReconfigurationType 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 ReconfigurationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RepoUpgradeOnBoot.
///
public class RepoUpgradeOnBoot : ConstantClass
{
///
/// Constant NONE for RepoUpgradeOnBoot
///
public static readonly RepoUpgradeOnBoot NONE = new RepoUpgradeOnBoot("NONE");
///
/// Constant SECURITY for RepoUpgradeOnBoot
///
public static readonly RepoUpgradeOnBoot SECURITY = new RepoUpgradeOnBoot("SECURITY");
///
/// 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 RepoUpgradeOnBoot(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 RepoUpgradeOnBoot 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 RepoUpgradeOnBoot(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScaleDownBehavior.
///
public class ScaleDownBehavior : ConstantClass
{
///
/// Constant TERMINATE_AT_INSTANCE_HOUR for ScaleDownBehavior
///
public static readonly ScaleDownBehavior TERMINATE_AT_INSTANCE_HOUR = new ScaleDownBehavior("TERMINATE_AT_INSTANCE_HOUR");
///
/// Constant TERMINATE_AT_TASK_COMPLETION for ScaleDownBehavior
///
public static readonly ScaleDownBehavior TERMINATE_AT_TASK_COMPLETION = new ScaleDownBehavior("TERMINATE_AT_TASK_COMPLETION");
///
/// 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 ScaleDownBehavior(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 ScaleDownBehavior 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 ScaleDownBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SpotProvisioningAllocationStrategy.
///
public class SpotProvisioningAllocationStrategy : ConstantClass
{
///
/// Constant CapacityOptimized for SpotProvisioningAllocationStrategy
///
public static readonly SpotProvisioningAllocationStrategy CapacityOptimized = new SpotProvisioningAllocationStrategy("capacity-optimized");
///
/// Constant Diversified for SpotProvisioningAllocationStrategy
///
public static readonly SpotProvisioningAllocationStrategy Diversified = new SpotProvisioningAllocationStrategy("diversified");
///
/// Constant LowestPrice for SpotProvisioningAllocationStrategy
///
public static readonly SpotProvisioningAllocationStrategy LowestPrice = new SpotProvisioningAllocationStrategy("lowest-price");
///
/// Constant PriceCapacityOptimized for SpotProvisioningAllocationStrategy
///
public static readonly SpotProvisioningAllocationStrategy PriceCapacityOptimized = new SpotProvisioningAllocationStrategy("price-capacity-optimized");
///
/// 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 SpotProvisioningAllocationStrategy(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 SpotProvisioningAllocationStrategy 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 SpotProvisioningAllocationStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SpotProvisioningTimeoutAction.
///
public class SpotProvisioningTimeoutAction : ConstantClass
{
///
/// Constant SWITCH_TO_ON_DEMAND for SpotProvisioningTimeoutAction
///
public static readonly SpotProvisioningTimeoutAction SWITCH_TO_ON_DEMAND = new SpotProvisioningTimeoutAction("SWITCH_TO_ON_DEMAND");
///
/// Constant TERMINATE_CLUSTER for SpotProvisioningTimeoutAction
///
public static readonly SpotProvisioningTimeoutAction TERMINATE_CLUSTER = new SpotProvisioningTimeoutAction("TERMINATE_CLUSTER");
///
/// 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 SpotProvisioningTimeoutAction(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 SpotProvisioningTimeoutAction 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 SpotProvisioningTimeoutAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Statistic.
///
public class Statistic : ConstantClass
{
///
/// Constant AVERAGE for Statistic
///
public static readonly Statistic AVERAGE = new Statistic("AVERAGE");
///
/// Constant MAXIMUM for Statistic
///
public static readonly Statistic MAXIMUM = new Statistic("MAXIMUM");
///
/// Constant MINIMUM for Statistic
///
public static readonly Statistic MINIMUM = new Statistic("MINIMUM");
///
/// Constant SAMPLE_COUNT for Statistic
///
public static readonly Statistic SAMPLE_COUNT = new Statistic("SAMPLE_COUNT");
///
/// Constant SUM for Statistic
///
public static readonly Statistic SUM = new Statistic("SUM");
///
/// 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 Statistic(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 Statistic 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 Statistic(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StepCancellationOption.
///
public class StepCancellationOption : ConstantClass
{
///
/// Constant SEND_INTERRUPT for StepCancellationOption
///
public static readonly StepCancellationOption SEND_INTERRUPT = new StepCancellationOption("SEND_INTERRUPT");
///
/// Constant TERMINATE_PROCESS for StepCancellationOption
///
public static readonly StepCancellationOption TERMINATE_PROCESS = new StepCancellationOption("TERMINATE_PROCESS");
///
/// 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 StepCancellationOption(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 StepCancellationOption 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 StepCancellationOption(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StepExecutionState.
///
public class StepExecutionState : ConstantClass
{
///
/// Constant CANCELLED for StepExecutionState
///
public static readonly StepExecutionState CANCELLED = new StepExecutionState("CANCELLED");
///
/// Constant COMPLETED for StepExecutionState
///
public static readonly StepExecutionState COMPLETED = new StepExecutionState("COMPLETED");
///
/// Constant CONTINUE for StepExecutionState
///
public static readonly StepExecutionState CONTINUE = new StepExecutionState("CONTINUE");
///
/// Constant FAILED for StepExecutionState
///
public static readonly StepExecutionState FAILED = new StepExecutionState("FAILED");
///
/// Constant INTERRUPTED for StepExecutionState
///
public static readonly StepExecutionState INTERRUPTED = new StepExecutionState("INTERRUPTED");
///
/// Constant PENDING for StepExecutionState
///
public static readonly StepExecutionState PENDING = new StepExecutionState("PENDING");
///
/// Constant RUNNING for StepExecutionState
///
public static readonly StepExecutionState RUNNING = new StepExecutionState("RUNNING");
///
/// 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 StepExecutionState(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 StepExecutionState 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 StepExecutionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StepState.
///
public class StepState : ConstantClass
{
///
/// Constant CANCEL_PENDING for StepState
///
public static readonly StepState CANCEL_PENDING = new StepState("CANCEL_PENDING");
///
/// Constant CANCELLED for StepState
///
public static readonly StepState CANCELLED = new StepState("CANCELLED");
///
/// Constant COMPLETED for StepState
///
public static readonly StepState COMPLETED = new StepState("COMPLETED");
///
/// Constant FAILED for StepState
///
public static readonly StepState FAILED = new StepState("FAILED");
///
/// Constant INTERRUPTED for StepState
///
public static readonly StepState INTERRUPTED = new StepState("INTERRUPTED");
///
/// Constant PENDING for StepState
///
public static readonly StepState PENDING = new StepState("PENDING");
///
/// Constant RUNNING for StepState
///
public static readonly StepState RUNNING = new StepState("RUNNING");
///
/// 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 StepState(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 StepState 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 StepState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StepStateChangeReasonCode.
///
public class StepStateChangeReasonCode : ConstantClass
{
///
/// Constant NONE for StepStateChangeReasonCode
///
public static readonly StepStateChangeReasonCode NONE = new StepStateChangeReasonCode("NONE");
///
/// 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 StepStateChangeReasonCode(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 StepStateChangeReasonCode 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 StepStateChangeReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Unit.
///
public class Unit : ConstantClass
{
///
/// Constant BITS for Unit
///
public static readonly Unit BITS = new Unit("BITS");
///
/// Constant BITS_PER_SECOND for Unit
///
public static readonly Unit BITS_PER_SECOND = new Unit("BITS_PER_SECOND");
///
/// Constant BYTES for Unit
///
public static readonly Unit BYTES = new Unit("BYTES");
///
/// Constant BYTES_PER_SECOND for Unit
///
public static readonly Unit BYTES_PER_SECOND = new Unit("BYTES_PER_SECOND");
///
/// Constant COUNT for Unit
///
public static readonly Unit COUNT = new Unit("COUNT");
///
/// Constant COUNT_PER_SECOND for Unit
///
public static readonly Unit COUNT_PER_SECOND = new Unit("COUNT_PER_SECOND");
///
/// Constant GIGA_BITS for Unit
///
public static readonly Unit GIGA_BITS = new Unit("GIGA_BITS");
///
/// Constant GIGA_BITS_PER_SECOND for Unit
///
public static readonly Unit GIGA_BITS_PER_SECOND = new Unit("GIGA_BITS_PER_SECOND");
///
/// Constant GIGA_BYTES for Unit
///
public static readonly Unit GIGA_BYTES = new Unit("GIGA_BYTES");
///
/// Constant GIGA_BYTES_PER_SECOND for Unit
///
public static readonly Unit GIGA_BYTES_PER_SECOND = new Unit("GIGA_BYTES_PER_SECOND");
///
/// Constant KILO_BITS for Unit
///
public static readonly Unit KILO_BITS = new Unit("KILO_BITS");
///
/// Constant KILO_BITS_PER_SECOND for Unit
///
public static readonly Unit KILO_BITS_PER_SECOND = new Unit("KILO_BITS_PER_SECOND");
///
/// Constant KILO_BYTES for Unit
///
public static readonly Unit KILO_BYTES = new Unit("KILO_BYTES");
///
/// Constant KILO_BYTES_PER_SECOND for Unit
///
public static readonly Unit KILO_BYTES_PER_SECOND = new Unit("KILO_BYTES_PER_SECOND");
///
/// Constant MEGA_BITS for Unit
///
public static readonly Unit MEGA_BITS = new Unit("MEGA_BITS");
///
/// Constant MEGA_BITS_PER_SECOND for Unit
///
public static readonly Unit MEGA_BITS_PER_SECOND = new Unit("MEGA_BITS_PER_SECOND");
///
/// Constant MEGA_BYTES for Unit
///
public static readonly Unit MEGA_BYTES = new Unit("MEGA_BYTES");
///
/// Constant MEGA_BYTES_PER_SECOND for Unit
///
public static readonly Unit MEGA_BYTES_PER_SECOND = new Unit("MEGA_BYTES_PER_SECOND");
///
/// Constant MICRO_SECONDS for Unit
///
public static readonly Unit MICRO_SECONDS = new Unit("MICRO_SECONDS");
///
/// Constant MILLI_SECONDS for Unit
///
public static readonly Unit MILLI_SECONDS = new Unit("MILLI_SECONDS");
///
/// Constant NONE for Unit
///
public static readonly Unit NONE = new Unit("NONE");
///
/// Constant PERCENT for Unit
///
public static readonly Unit PERCENT = new Unit("PERCENT");
///
/// Constant SECONDS for Unit
///
public static readonly Unit SECONDS = new Unit("SECONDS");
///
/// Constant TERA_BITS for Unit
///
public static readonly Unit TERA_BITS = new Unit("TERA_BITS");
///
/// Constant TERA_BITS_PER_SECOND for Unit
///
public static readonly Unit TERA_BITS_PER_SECOND = new Unit("TERA_BITS_PER_SECOND");
///
/// Constant TERA_BYTES for Unit
///
public static readonly Unit TERA_BYTES = new Unit("TERA_BYTES");
///
/// Constant TERA_BYTES_PER_SECOND for Unit
///
public static readonly Unit TERA_BYTES_PER_SECOND = new Unit("TERA_BYTES_PER_SECOND");
///
/// 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 Unit(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 Unit 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 Unit(string value)
{
return FindValue(value);
}
}
}