/*
* 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 network-firewall-2020-11-12.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.NetworkFirewall
{
///
/// Constants used for properties of type AttachmentStatus.
///
public class AttachmentStatus : ConstantClass
{
///
/// Constant CREATING for AttachmentStatus
///
public static readonly AttachmentStatus CREATING = new AttachmentStatus("CREATING");
///
/// Constant DELETING for AttachmentStatus
///
public static readonly AttachmentStatus DELETING = new AttachmentStatus("DELETING");
///
/// Constant ERROR for AttachmentStatus
///
public static readonly AttachmentStatus ERROR = new AttachmentStatus("ERROR");
///
/// Constant FAILED for AttachmentStatus
///
public static readonly AttachmentStatus FAILED = new AttachmentStatus("FAILED");
///
/// Constant READY for AttachmentStatus
///
public static readonly AttachmentStatus READY = new AttachmentStatus("READY");
///
/// Constant SCALING for AttachmentStatus
///
public static readonly AttachmentStatus SCALING = new AttachmentStatus("SCALING");
///
/// 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 AttachmentStatus(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 AttachmentStatus 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 AttachmentStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConfigurationSyncState.
///
public class ConfigurationSyncState : ConstantClass
{
///
/// Constant CAPACITY_CONSTRAINED for ConfigurationSyncState
///
public static readonly ConfigurationSyncState CAPACITY_CONSTRAINED = new ConfigurationSyncState("CAPACITY_CONSTRAINED");
///
/// Constant IN_SYNC for ConfigurationSyncState
///
public static readonly ConfigurationSyncState IN_SYNC = new ConfigurationSyncState("IN_SYNC");
///
/// Constant PENDING for ConfigurationSyncState
///
public static readonly ConfigurationSyncState PENDING = new ConfigurationSyncState("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 ConfigurationSyncState(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 ConfigurationSyncState 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 ConfigurationSyncState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionType.
///
public class EncryptionType : ConstantClass
{
///
/// Constant AWS_OWNED_KMS_KEY for EncryptionType
///
public static readonly EncryptionType AWS_OWNED_KMS_KEY = new EncryptionType("AWS_OWNED_KMS_KEY");
///
/// Constant CUSTOMER_KMS for EncryptionType
///
public static readonly EncryptionType CUSTOMER_KMS = new EncryptionType("CUSTOMER_KMS");
///
/// 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 EncryptionType(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 EncryptionType 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 EncryptionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FirewallStatusValue.
///
public class FirewallStatusValue : ConstantClass
{
///
/// Constant DELETING for FirewallStatusValue
///
public static readonly FirewallStatusValue DELETING = new FirewallStatusValue("DELETING");
///
/// Constant PROVISIONING for FirewallStatusValue
///
public static readonly FirewallStatusValue PROVISIONING = new FirewallStatusValue("PROVISIONING");
///
/// Constant READY for FirewallStatusValue
///
public static readonly FirewallStatusValue READY = new FirewallStatusValue("READY");
///
/// 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 FirewallStatusValue(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 FirewallStatusValue 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 FirewallStatusValue(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GeneratedRulesType.
///
public class GeneratedRulesType : ConstantClass
{
///
/// Constant ALLOWLIST for GeneratedRulesType
///
public static readonly GeneratedRulesType ALLOWLIST = new GeneratedRulesType("ALLOWLIST");
///
/// Constant DENYLIST for GeneratedRulesType
///
public static readonly GeneratedRulesType DENYLIST = new GeneratedRulesType("DENYLIST");
///
/// 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 GeneratedRulesType(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 GeneratedRulesType 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 GeneratedRulesType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IPAddressType.
///
public class IPAddressType : ConstantClass
{
///
/// Constant DUALSTACK for IPAddressType
///
public static readonly IPAddressType DUALSTACK = new IPAddressType("DUALSTACK");
///
/// Constant IPV4 for IPAddressType
///
public static readonly IPAddressType IPV4 = new IPAddressType("IPV4");
///
/// Constant IPV6 for IPAddressType
///
public static readonly IPAddressType IPV6 = new IPAddressType("IPV6");
///
/// 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 IPAddressType(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 IPAddressType 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 IPAddressType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LogDestinationType.
///
public class LogDestinationType : ConstantClass
{
///
/// Constant CloudWatchLogs for LogDestinationType
///
public static readonly LogDestinationType CloudWatchLogs = new LogDestinationType("CloudWatchLogs");
///
/// Constant KinesisDataFirehose for LogDestinationType
///
public static readonly LogDestinationType KinesisDataFirehose = new LogDestinationType("KinesisDataFirehose");
///
/// Constant S3 for LogDestinationType
///
public static readonly LogDestinationType S3 = new LogDestinationType("S3");
///
/// 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 LogDestinationType(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 LogDestinationType 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 LogDestinationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LogType.
///
public class LogType : ConstantClass
{
///
/// Constant ALERT for LogType
///
public static readonly LogType ALERT = new LogType("ALERT");
///
/// Constant FLOW for LogType
///
public static readonly LogType FLOW = new LogType("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 LogType(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 LogType 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 LogType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OverrideAction.
///
public class OverrideAction : ConstantClass
{
///
/// Constant DROP_TO_ALERT for OverrideAction
///
public static readonly OverrideAction DROP_TO_ALERT = new OverrideAction("DROP_TO_ALERT");
///
/// 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 OverrideAction(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 OverrideAction 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 OverrideAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PerObjectSyncStatus.
///
public class PerObjectSyncStatus : ConstantClass
{
///
/// Constant CAPACITY_CONSTRAINED for PerObjectSyncStatus
///
public static readonly PerObjectSyncStatus CAPACITY_CONSTRAINED = new PerObjectSyncStatus("CAPACITY_CONSTRAINED");
///
/// Constant IN_SYNC for PerObjectSyncStatus
///
public static readonly PerObjectSyncStatus IN_SYNC = new PerObjectSyncStatus("IN_SYNC");
///
/// Constant PENDING for PerObjectSyncStatus
///
public static readonly PerObjectSyncStatus PENDING = new PerObjectSyncStatus("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 PerObjectSyncStatus(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 PerObjectSyncStatus 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 PerObjectSyncStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceManagedStatus.
///
public class ResourceManagedStatus : ConstantClass
{
///
/// Constant ACCOUNT for ResourceManagedStatus
///
public static readonly ResourceManagedStatus ACCOUNT = new ResourceManagedStatus("ACCOUNT");
///
/// Constant MANAGED for ResourceManagedStatus
///
public static readonly ResourceManagedStatus MANAGED = new ResourceManagedStatus("MANAGED");
///
/// 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 ResourceManagedStatus(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 ResourceManagedStatus 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 ResourceManagedStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceManagedType.
///
public class ResourceManagedType : ConstantClass
{
///
/// Constant AWS_MANAGED_DOMAIN_LISTS for ResourceManagedType
///
public static readonly ResourceManagedType AWS_MANAGED_DOMAIN_LISTS = new ResourceManagedType("AWS_MANAGED_DOMAIN_LISTS");
///
/// Constant AWS_MANAGED_THREAT_SIGNATURES for ResourceManagedType
///
public static readonly ResourceManagedType AWS_MANAGED_THREAT_SIGNATURES = new ResourceManagedType("AWS_MANAGED_THREAT_SIGNATURES");
///
/// 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 ResourceManagedType(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 ResourceManagedType 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 ResourceManagedType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceStatus.
///
public class ResourceStatus : ConstantClass
{
///
/// Constant ACTIVE for ResourceStatus
///
public static readonly ResourceStatus ACTIVE = new ResourceStatus("ACTIVE");
///
/// Constant DELETING for ResourceStatus
///
public static readonly ResourceStatus DELETING = new ResourceStatus("DELETING");
///
/// 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 ResourceStatus(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 ResourceStatus 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 ResourceStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RuleGroupType.
///
public class RuleGroupType : ConstantClass
{
///
/// Constant STATEFUL for RuleGroupType
///
public static readonly RuleGroupType STATEFUL = new RuleGroupType("STATEFUL");
///
/// Constant STATELESS for RuleGroupType
///
public static readonly RuleGroupType STATELESS = new RuleGroupType("STATELESS");
///
/// 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 RuleGroupType(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 RuleGroupType 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 RuleGroupType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RuleOrder.
///
public class RuleOrder : ConstantClass
{
///
/// Constant DEFAULT_ACTION_ORDER for RuleOrder
///
public static readonly RuleOrder DEFAULT_ACTION_ORDER = new RuleOrder("DEFAULT_ACTION_ORDER");
///
/// Constant STRICT_ORDER for RuleOrder
///
public static readonly RuleOrder STRICT_ORDER = new RuleOrder("STRICT_ORDER");
///
/// 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 RuleOrder(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 RuleOrder 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 RuleOrder(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StatefulAction.
///
public class StatefulAction : ConstantClass
{
///
/// Constant ALERT for StatefulAction
///
public static readonly StatefulAction ALERT = new StatefulAction("ALERT");
///
/// Constant DROP for StatefulAction
///
public static readonly StatefulAction DROP = new StatefulAction("DROP");
///
/// Constant PASS for StatefulAction
///
public static readonly StatefulAction PASS = new StatefulAction("PASS");
///
/// Constant REJECT for StatefulAction
///
public static readonly StatefulAction REJECT = new StatefulAction("REJECT");
///
/// 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 StatefulAction(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 StatefulAction 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 StatefulAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StatefulRuleDirection.
///
public class StatefulRuleDirection : ConstantClass
{
///
/// Constant ANY for StatefulRuleDirection
///
public static readonly StatefulRuleDirection ANY = new StatefulRuleDirection("ANY");
///
/// Constant FORWARD for StatefulRuleDirection
///
public static readonly StatefulRuleDirection FORWARD = new StatefulRuleDirection("FORWARD");
///
/// 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 StatefulRuleDirection(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 StatefulRuleDirection 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 StatefulRuleDirection(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StatefulRuleProtocol.
///
public class StatefulRuleProtocol : ConstantClass
{
///
/// Constant DCERPC for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol DCERPC = new StatefulRuleProtocol("DCERPC");
///
/// Constant DHCP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol DHCP = new StatefulRuleProtocol("DHCP");
///
/// Constant DNS for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol DNS = new StatefulRuleProtocol("DNS");
///
/// Constant FTP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol FTP = new StatefulRuleProtocol("FTP");
///
/// Constant HTTP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol HTTP = new StatefulRuleProtocol("HTTP");
///
/// Constant ICMP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol ICMP = new StatefulRuleProtocol("ICMP");
///
/// Constant IKEV2 for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol IKEV2 = new StatefulRuleProtocol("IKEV2");
///
/// Constant IMAP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol IMAP = new StatefulRuleProtocol("IMAP");
///
/// Constant IP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol IP = new StatefulRuleProtocol("IP");
///
/// Constant KRB5 for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol KRB5 = new StatefulRuleProtocol("KRB5");
///
/// Constant MSN for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol MSN = new StatefulRuleProtocol("MSN");
///
/// Constant NTP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol NTP = new StatefulRuleProtocol("NTP");
///
/// Constant SMB for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol SMB = new StatefulRuleProtocol("SMB");
///
/// Constant SMTP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol SMTP = new StatefulRuleProtocol("SMTP");
///
/// Constant SSH for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol SSH = new StatefulRuleProtocol("SSH");
///
/// Constant TCP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol TCP = new StatefulRuleProtocol("TCP");
///
/// Constant TFTP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol TFTP = new StatefulRuleProtocol("TFTP");
///
/// Constant TLS for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol TLS = new StatefulRuleProtocol("TLS");
///
/// Constant UDP for StatefulRuleProtocol
///
public static readonly StatefulRuleProtocol UDP = new StatefulRuleProtocol("UDP");
///
/// 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 StatefulRuleProtocol(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 StatefulRuleProtocol 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 StatefulRuleProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StreamExceptionPolicy.
///
public class StreamExceptionPolicy : ConstantClass
{
///
/// Constant CONTINUE for StreamExceptionPolicy
///
public static readonly StreamExceptionPolicy CONTINUE = new StreamExceptionPolicy("CONTINUE");
///
/// Constant DROP for StreamExceptionPolicy
///
public static readonly StreamExceptionPolicy DROP = new StreamExceptionPolicy("DROP");
///
/// Constant REJECT for StreamExceptionPolicy
///
public static readonly StreamExceptionPolicy REJECT = new StreamExceptionPolicy("REJECT");
///
/// 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 StreamExceptionPolicy(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 StreamExceptionPolicy 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 StreamExceptionPolicy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetType.
///
public class TargetType : ConstantClass
{
///
/// Constant HTTP_HOST for TargetType
///
public static readonly TargetType HTTP_HOST = new TargetType("HTTP_HOST");
///
/// Constant TLS_SNI for TargetType
///
public static readonly TargetType TLS_SNI = new TargetType("TLS_SNI");
///
/// 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 TargetType(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 TargetType 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 TargetType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TCPFlag.
///
public class TCPFlag : ConstantClass
{
///
/// Constant ACK for TCPFlag
///
public static readonly TCPFlag ACK = new TCPFlag("ACK");
///
/// Constant CWR for TCPFlag
///
public static readonly TCPFlag CWR = new TCPFlag("CWR");
///
/// Constant ECE for TCPFlag
///
public static readonly TCPFlag ECE = new TCPFlag("ECE");
///
/// Constant FIN for TCPFlag
///
public static readonly TCPFlag FIN = new TCPFlag("FIN");
///
/// Constant PSH for TCPFlag
///
public static readonly TCPFlag PSH = new TCPFlag("PSH");
///
/// Constant RST for TCPFlag
///
public static readonly TCPFlag RST = new TCPFlag("RST");
///
/// Constant SYN for TCPFlag
///
public static readonly TCPFlag SYN = new TCPFlag("SYN");
///
/// Constant URG for TCPFlag
///
public static readonly TCPFlag URG = new TCPFlag("URG");
///
/// 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 TCPFlag(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 TCPFlag 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 TCPFlag(string value)
{
return FindValue(value);
}
}
}