/*
* 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 memorydb-2021-01-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.MemoryDB
{
///
/// Constants used for properties of type AuthenticationType.
///
public class AuthenticationType : ConstantClass
{
///
/// Constant Iam for AuthenticationType
///
public static readonly AuthenticationType Iam = new AuthenticationType("iam");
///
/// Constant NoPassword for AuthenticationType
///
public static readonly AuthenticationType NoPassword = new AuthenticationType("no-password");
///
/// Constant Password for AuthenticationType
///
public static readonly AuthenticationType Password = new AuthenticationType("password");
///
/// 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 AuthenticationType(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 AuthenticationType 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 AuthenticationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AZStatus.
///
public class AZStatus : ConstantClass
{
///
/// Constant Multiaz for AZStatus
///
public static readonly AZStatus Multiaz = new AZStatus("multiaz");
///
/// Constant Singleaz for AZStatus
///
public static readonly AZStatus Singleaz = new AZStatus("singleaz");
///
/// 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 AZStatus(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 AZStatus 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 AZStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DataTieringStatus.
///
public class DataTieringStatus : ConstantClass
{
///
/// Constant False for DataTieringStatus
///
public static readonly DataTieringStatus False = new DataTieringStatus("false");
///
/// Constant True for DataTieringStatus
///
public static readonly DataTieringStatus True = new DataTieringStatus("true");
///
/// 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 DataTieringStatus(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 DataTieringStatus 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 DataTieringStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InputAuthenticationType.
///
public class InputAuthenticationType : ConstantClass
{
///
/// Constant Iam for InputAuthenticationType
///
public static readonly InputAuthenticationType Iam = new InputAuthenticationType("iam");
///
/// Constant Password for InputAuthenticationType
///
public static readonly InputAuthenticationType Password = new InputAuthenticationType("password");
///
/// 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 InputAuthenticationType(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 InputAuthenticationType 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 InputAuthenticationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceUpdateStatus.
///
public class ServiceUpdateStatus : ConstantClass
{
///
/// Constant Available for ServiceUpdateStatus
///
public static readonly ServiceUpdateStatus Available = new ServiceUpdateStatus("available");
///
/// Constant Complete for ServiceUpdateStatus
///
public static readonly ServiceUpdateStatus Complete = new ServiceUpdateStatus("complete");
///
/// Constant InProgress for ServiceUpdateStatus
///
public static readonly ServiceUpdateStatus InProgress = new ServiceUpdateStatus("in-progress");
///
/// Constant Scheduled for ServiceUpdateStatus
///
public static readonly ServiceUpdateStatus Scheduled = new ServiceUpdateStatus("scheduled");
///
/// 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 ServiceUpdateStatus(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 ServiceUpdateStatus 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 ServiceUpdateStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceUpdateType.
///
public class ServiceUpdateType : ConstantClass
{
///
/// Constant SecurityUpdate for ServiceUpdateType
///
public static readonly ServiceUpdateType SecurityUpdate = new ServiceUpdateType("security-update");
///
/// 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 ServiceUpdateType(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 ServiceUpdateType 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 ServiceUpdateType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SourceType.
///
public class SourceType : ConstantClass
{
///
/// Constant Acl for SourceType
///
public static readonly SourceType Acl = new SourceType("acl");
///
/// Constant Cluster for SourceType
///
public static readonly SourceType Cluster = new SourceType("cluster");
///
/// Constant Node for SourceType
///
public static readonly SourceType Node = new SourceType("node");
///
/// Constant ParameterGroup for SourceType
///
public static readonly SourceType ParameterGroup = new SourceType("parameter-group");
///
/// Constant SubnetGroup for SourceType
///
public static readonly SourceType SubnetGroup = new SourceType("subnet-group");
///
/// Constant User for SourceType
///
public static readonly SourceType User = new SourceType("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 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);
}
}
}