/* * 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 neptune-2014-10-31.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Neptune { /// /// Constants used for properties of type ApplyMethod. /// public class ApplyMethod : ConstantClass { /// /// Constant Immediate for ApplyMethod /// public static readonly ApplyMethod Immediate = new ApplyMethod("immediate"); /// /// Constant PendingReboot for ApplyMethod /// public static readonly ApplyMethod PendingReboot = new ApplyMethod("pending-reboot"); /// /// 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 ApplyMethod(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 ApplyMethod 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 ApplyMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type SourceType. /// public class SourceType : ConstantClass { /// /// Constant DbCluster for SourceType /// public static readonly SourceType DbCluster = new SourceType("db-cluster"); /// /// Constant DbClusterSnapshot for SourceType /// public static readonly SourceType DbClusterSnapshot = new SourceType("db-cluster-snapshot"); /// /// Constant DbInstance for SourceType /// public static readonly SourceType DbInstance = new SourceType("db-instance"); /// /// Constant DbParameterGroup for SourceType /// public static readonly SourceType DbParameterGroup = new SourceType("db-parameter-group"); /// /// Constant DbSecurityGroup for SourceType /// public static readonly SourceType DbSecurityGroup = new SourceType("db-security-group"); /// /// Constant DbSnapshot for SourceType /// public static readonly SourceType DbSnapshot = new SourceType("db-snapshot"); /// /// 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 SourceType(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 SourceType 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 SourceType(string value) { return FindValue(value); } } }