/* * 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 kafkaconnect-2021-09-14.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.KafkaConnect { /// /// Constants used for properties of type ConnectorState. /// public class ConnectorState : ConstantClass { /// /// Constant CREATING for ConnectorState /// public static readonly ConnectorState CREATING = new ConnectorState("CREATING"); /// /// Constant DELETING for ConnectorState /// public static readonly ConnectorState DELETING = new ConnectorState("DELETING"); /// /// Constant FAILED for ConnectorState /// public static readonly ConnectorState FAILED = new ConnectorState("FAILED"); /// /// Constant RUNNING for ConnectorState /// public static readonly ConnectorState RUNNING = new ConnectorState("RUNNING"); /// /// Constant UPDATING for ConnectorState /// public static readonly ConnectorState UPDATING = new ConnectorState("UPDATING"); /// /// 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 ConnectorState(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 ConnectorState 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 ConnectorState(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomPluginContentType. /// public class CustomPluginContentType : ConstantClass { /// /// Constant JAR for CustomPluginContentType /// public static readonly CustomPluginContentType JAR = new CustomPluginContentType("JAR"); /// /// Constant ZIP for CustomPluginContentType /// public static readonly CustomPluginContentType ZIP = new CustomPluginContentType("ZIP"); /// /// 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 CustomPluginContentType(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 CustomPluginContentType 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 CustomPluginContentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomPluginState. /// public class CustomPluginState : ConstantClass { /// /// Constant ACTIVE for CustomPluginState /// public static readonly CustomPluginState ACTIVE = new CustomPluginState("ACTIVE"); /// /// Constant CREATE_FAILED for CustomPluginState /// public static readonly CustomPluginState CREATE_FAILED = new CustomPluginState("CREATE_FAILED"); /// /// Constant CREATING for CustomPluginState /// public static readonly CustomPluginState CREATING = new CustomPluginState("CREATING"); /// /// Constant DELETING for CustomPluginState /// public static readonly CustomPluginState DELETING = new CustomPluginState("DELETING"); /// /// Constant UPDATE_FAILED for CustomPluginState /// public static readonly CustomPluginState UPDATE_FAILED = new CustomPluginState("UPDATE_FAILED"); /// /// Constant UPDATING for CustomPluginState /// public static readonly CustomPluginState UPDATING = new CustomPluginState("UPDATING"); /// /// 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 CustomPluginState(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 CustomPluginState 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 CustomPluginState(string value) { return FindValue(value); } } /// /// Constants used for properties of type KafkaClusterClientAuthenticationType. /// public class KafkaClusterClientAuthenticationType : ConstantClass { /// /// Constant IAM for KafkaClusterClientAuthenticationType /// public static readonly KafkaClusterClientAuthenticationType IAM = new KafkaClusterClientAuthenticationType("IAM"); /// /// Constant NONE for KafkaClusterClientAuthenticationType /// public static readonly KafkaClusterClientAuthenticationType NONE = new KafkaClusterClientAuthenticationType("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 KafkaClusterClientAuthenticationType(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 KafkaClusterClientAuthenticationType 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 KafkaClusterClientAuthenticationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type KafkaClusterEncryptionInTransitType. /// public class KafkaClusterEncryptionInTransitType : ConstantClass { /// /// Constant PLAINTEXT for KafkaClusterEncryptionInTransitType /// public static readonly KafkaClusterEncryptionInTransitType PLAINTEXT = new KafkaClusterEncryptionInTransitType("PLAINTEXT"); /// /// Constant TLS for KafkaClusterEncryptionInTransitType /// public static readonly KafkaClusterEncryptionInTransitType TLS = new KafkaClusterEncryptionInTransitType("TLS"); /// /// 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 KafkaClusterEncryptionInTransitType(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 KafkaClusterEncryptionInTransitType 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 KafkaClusterEncryptionInTransitType(string value) { return FindValue(value); } } }