/* * 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 batch-2016-08-10.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Batch { /// /// Constants used for properties of type ArrayJobDependency. /// public class ArrayJobDependency : ConstantClass { /// /// Constant N_TO_N for ArrayJobDependency /// public static readonly ArrayJobDependency N_TO_N = new ArrayJobDependency("N_TO_N"); /// /// Constant SEQUENTIAL for ArrayJobDependency /// public static readonly ArrayJobDependency SEQUENTIAL = new ArrayJobDependency("SEQUENTIAL"); /// /// 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 ArrayJobDependency(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 ArrayJobDependency 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 ArrayJobDependency(string value) { return FindValue(value); } } /// /// Constants used for properties of type AssignPublicIp. /// public class AssignPublicIp : ConstantClass { /// /// Constant DISABLED for AssignPublicIp /// public static readonly AssignPublicIp DISABLED = new AssignPublicIp("DISABLED"); /// /// Constant ENABLED for AssignPublicIp /// public static readonly AssignPublicIp ENABLED = new AssignPublicIp("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 AssignPublicIp(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 AssignPublicIp 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 AssignPublicIp(string value) { return FindValue(value); } } /// /// Constants used for properties of type CEState. /// public class CEState : ConstantClass { /// /// Constant DISABLED for CEState /// public static readonly CEState DISABLED = new CEState("DISABLED"); /// /// Constant ENABLED for CEState /// public static readonly CEState ENABLED = new CEState("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 CEState(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 CEState 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 CEState(string value) { return FindValue(value); } } /// /// Constants used for properties of type CEStatus. /// public class CEStatus : ConstantClass { /// /// Constant CREATING for CEStatus /// public static readonly CEStatus CREATING = new CEStatus("CREATING"); /// /// Constant DELETED for CEStatus /// public static readonly CEStatus DELETED = new CEStatus("DELETED"); /// /// Constant DELETING for CEStatus /// public static readonly CEStatus DELETING = new CEStatus("DELETING"); /// /// Constant INVALID for CEStatus /// public static readonly CEStatus INVALID = new CEStatus("INVALID"); /// /// Constant UPDATING for CEStatus /// public static readonly CEStatus UPDATING = new CEStatus("UPDATING"); /// /// Constant VALID for CEStatus /// public static readonly CEStatus VALID = new CEStatus("VALID"); /// /// 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 CEStatus(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 CEStatus 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 CEStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CEType. /// public class CEType : ConstantClass { /// /// Constant MANAGED for CEType /// public static readonly CEType MANAGED = new CEType("MANAGED"); /// /// Constant UNMANAGED for CEType /// public static readonly CEType UNMANAGED = new CEType("UNMANAGED"); /// /// 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 CEType(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 CEType 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 CEType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CRAllocationStrategy. /// public class CRAllocationStrategy : ConstantClass { /// /// Constant BEST_FIT for CRAllocationStrategy /// public static readonly CRAllocationStrategy BEST_FIT = new CRAllocationStrategy("BEST_FIT"); /// /// Constant BEST_FIT_PROGRESSIVE for CRAllocationStrategy /// public static readonly CRAllocationStrategy BEST_FIT_PROGRESSIVE = new CRAllocationStrategy("BEST_FIT_PROGRESSIVE"); /// /// Constant SPOT_CAPACITY_OPTIMIZED for CRAllocationStrategy /// public static readonly CRAllocationStrategy SPOT_CAPACITY_OPTIMIZED = new CRAllocationStrategy("SPOT_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 CRAllocationStrategy(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 CRAllocationStrategy 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 CRAllocationStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type CRType. /// public class CRType : ConstantClass { /// /// Constant EC2 for CRType /// public static readonly CRType EC2 = new CRType("EC2"); /// /// Constant FARGATE for CRType /// public static readonly CRType FARGATE = new CRType("FARGATE"); /// /// Constant FARGATE_SPOT for CRType /// public static readonly CRType FARGATE_SPOT = new CRType("FARGATE_SPOT"); /// /// Constant SPOT for CRType /// public static readonly CRType SPOT = new CRType("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 CRType(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 CRType 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 CRType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CRUpdateAllocationStrategy. /// public class CRUpdateAllocationStrategy : ConstantClass { /// /// Constant BEST_FIT_PROGRESSIVE for CRUpdateAllocationStrategy /// public static readonly CRUpdateAllocationStrategy BEST_FIT_PROGRESSIVE = new CRUpdateAllocationStrategy("BEST_FIT_PROGRESSIVE"); /// /// Constant SPOT_CAPACITY_OPTIMIZED for CRUpdateAllocationStrategy /// public static readonly CRUpdateAllocationStrategy SPOT_CAPACITY_OPTIMIZED = new CRUpdateAllocationStrategy("SPOT_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 CRUpdateAllocationStrategy(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 CRUpdateAllocationStrategy 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 CRUpdateAllocationStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeviceCgroupPermission. /// public class DeviceCgroupPermission : ConstantClass { /// /// Constant MKNOD for DeviceCgroupPermission /// public static readonly DeviceCgroupPermission MKNOD = new DeviceCgroupPermission("MKNOD"); /// /// Constant READ for DeviceCgroupPermission /// public static readonly DeviceCgroupPermission READ = new DeviceCgroupPermission("READ"); /// /// Constant WRITE for DeviceCgroupPermission /// public static readonly DeviceCgroupPermission WRITE = new DeviceCgroupPermission("WRITE"); /// /// 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 DeviceCgroupPermission(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 DeviceCgroupPermission 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 DeviceCgroupPermission(string value) { return FindValue(value); } } /// /// Constants used for properties of type EFSAuthorizationConfigIAM. /// public class EFSAuthorizationConfigIAM : ConstantClass { /// /// Constant DISABLED for EFSAuthorizationConfigIAM /// public static readonly EFSAuthorizationConfigIAM DISABLED = new EFSAuthorizationConfigIAM("DISABLED"); /// /// Constant ENABLED for EFSAuthorizationConfigIAM /// public static readonly EFSAuthorizationConfigIAM ENABLED = new EFSAuthorizationConfigIAM("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 EFSAuthorizationConfigIAM(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 EFSAuthorizationConfigIAM 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 EFSAuthorizationConfigIAM(string value) { return FindValue(value); } } /// /// Constants used for properties of type EFSTransitEncryption. /// public class EFSTransitEncryption : ConstantClass { /// /// Constant DISABLED for EFSTransitEncryption /// public static readonly EFSTransitEncryption DISABLED = new EFSTransitEncryption("DISABLED"); /// /// Constant ENABLED for EFSTransitEncryption /// public static readonly EFSTransitEncryption ENABLED = new EFSTransitEncryption("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 EFSTransitEncryption(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 EFSTransitEncryption 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 EFSTransitEncryption(string value) { return FindValue(value); } } /// /// Constants used for properties of type JobDefinitionType. /// public class JobDefinitionType : ConstantClass { /// /// Constant Container for JobDefinitionType /// public static readonly JobDefinitionType Container = new JobDefinitionType("container"); /// /// Constant Multinode for JobDefinitionType /// public static readonly JobDefinitionType Multinode = new JobDefinitionType("multinode"); /// /// 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 JobDefinitionType(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 JobDefinitionType 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 JobDefinitionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type JobStatus. /// public class JobStatus : ConstantClass { /// /// Constant FAILED for JobStatus /// public static readonly JobStatus FAILED = new JobStatus("FAILED"); /// /// Constant PENDING for JobStatus /// public static readonly JobStatus PENDING = new JobStatus("PENDING"); /// /// Constant RUNNABLE for JobStatus /// public static readonly JobStatus RUNNABLE = new JobStatus("RUNNABLE"); /// /// Constant RUNNING for JobStatus /// public static readonly JobStatus RUNNING = new JobStatus("RUNNING"); /// /// Constant STARTING for JobStatus /// public static readonly JobStatus STARTING = new JobStatus("STARTING"); /// /// Constant SUBMITTED for JobStatus /// public static readonly JobStatus SUBMITTED = new JobStatus("SUBMITTED"); /// /// Constant SUCCEEDED for JobStatus /// public static readonly JobStatus SUCCEEDED = new JobStatus("SUCCEEDED"); /// /// 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 JobStatus(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 JobStatus 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 JobStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type JQState. /// public class JQState : ConstantClass { /// /// Constant DISABLED for JQState /// public static readonly JQState DISABLED = new JQState("DISABLED"); /// /// Constant ENABLED for JQState /// public static readonly JQState ENABLED = new JQState("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 JQState(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 JQState 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 JQState(string value) { return FindValue(value); } } /// /// Constants used for properties of type JQStatus. /// public class JQStatus : ConstantClass { /// /// Constant CREATING for JQStatus /// public static readonly JQStatus CREATING = new JQStatus("CREATING"); /// /// Constant DELETED for JQStatus /// public static readonly JQStatus DELETED = new JQStatus("DELETED"); /// /// Constant DELETING for JQStatus /// public static readonly JQStatus DELETING = new JQStatus("DELETING"); /// /// Constant INVALID for JQStatus /// public static readonly JQStatus INVALID = new JQStatus("INVALID"); /// /// Constant UPDATING for JQStatus /// public static readonly JQStatus UPDATING = new JQStatus("UPDATING"); /// /// Constant VALID for JQStatus /// public static readonly JQStatus VALID = new JQStatus("VALID"); /// /// 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 JQStatus(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 JQStatus 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 JQStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type LogDriver. /// public class LogDriver : ConstantClass { /// /// Constant Awslogs for LogDriver /// public static readonly LogDriver Awslogs = new LogDriver("awslogs"); /// /// Constant Fluentd for LogDriver /// public static readonly LogDriver Fluentd = new LogDriver("fluentd"); /// /// Constant Gelf for LogDriver /// public static readonly LogDriver Gelf = new LogDriver("gelf"); /// /// Constant Journald for LogDriver /// public static readonly LogDriver Journald = new LogDriver("journald"); /// /// Constant JsonFile for LogDriver /// public static readonly LogDriver JsonFile = new LogDriver("json-file"); /// /// Constant Splunk for LogDriver /// public static readonly LogDriver Splunk = new LogDriver("splunk"); /// /// Constant Syslog for LogDriver /// public static readonly LogDriver Syslog = new LogDriver("syslog"); /// /// 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 LogDriver(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 LogDriver 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 LogDriver(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrchestrationType. /// public class OrchestrationType : ConstantClass { /// /// Constant ECS for OrchestrationType /// public static readonly OrchestrationType ECS = new OrchestrationType("ECS"); /// /// Constant EKS for OrchestrationType /// public static readonly OrchestrationType EKS = new OrchestrationType("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 OrchestrationType(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 OrchestrationType 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 OrchestrationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlatformCapability. /// public class PlatformCapability : ConstantClass { /// /// Constant EC2 for PlatformCapability /// public static readonly PlatformCapability EC2 = new PlatformCapability("EC2"); /// /// Constant FARGATE for PlatformCapability /// public static readonly PlatformCapability FARGATE = new PlatformCapability("FARGATE"); /// /// 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 PlatformCapability(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 PlatformCapability 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 PlatformCapability(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceType. /// public class ResourceType : ConstantClass { /// /// Constant GPU for ResourceType /// public static readonly ResourceType GPU = new ResourceType("GPU"); /// /// Constant MEMORY for ResourceType /// public static readonly ResourceType MEMORY = new ResourceType("MEMORY"); /// /// Constant VCPU for ResourceType /// public static readonly ResourceType VCPU = new ResourceType("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 ResourceType(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 ResourceType 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 ResourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RetryAction. /// public class RetryAction : ConstantClass { /// /// Constant EXIT for RetryAction /// public static readonly RetryAction EXIT = new RetryAction("EXIT"); /// /// Constant RETRY for RetryAction /// public static readonly RetryAction RETRY = new RetryAction("RETRY"); /// /// 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 RetryAction(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 RetryAction 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 RetryAction(string value) { return FindValue(value); } } }