Class ExpandableStringEnum<T extends ExpandableStringEnum<T>>

java.lang.Object
com.azure.core.util.ExpandableStringEnum<T>
Type Parameters:
T - a specific expandable enum type
Direct Known Subclasses:
AccessControlType, AccessRights, AccessTier, AccessTier, AlertQueryTimeMode, AmazonRdsForOraclePartitionOption, AnomalyDetectorDirection, AnomalyDetectorErrorCodes, AnomalyIncidentStatus, AnomalySeverity, AnomalyStatus, AnomalyValue, AppAction, AppServicePlanAction, ArchiveStatus, ArchiveStatus, ArtifactArchitecture, ArtifactManifestOrder, ArtifactOperatingSystem, ArtifactTagOrder, AssetConversionStatus, AsyncStatus, AttestationDataInterpretation, AttestationType, AvroCompressionCodec, AzureFunctionActivityMethod, AzureSearchIndexWriteBehaviorType, BigDataPoolReferenceType, BillingFrequency, BlobChangefeedEventType, BlobCopySourceTagsMode, BlobErrorCode, BlobEventType, BlobIndexerDataToExtract, BlobIndexerImageAction, BlobIndexerParsingMode, BlobIndexerPdfTextRotationAlgorithm, BoundaryDirection, BoundaryMeasureType, CallConnectionState, CallingServerEventType, CallRecordingState, CassandraSourceReadConsistencyLevels, CbsAuthorizationType, CellOutputType, CertificateContentType, CertificateKeyCurveName, CertificateKeyType, CertificateKeyUsage, CertificateModification, CertificatePolicyAction, ChangePointValue, CharFilterName, ChatMessageType, CloudEventDataFormat, CommunicationCloudEnvironment, CommunicationCloudEnvironmentModel, CommunicationTokenScope, CompressionCodec, ContainerRegistryAudience, CopyBehaviorType, CreateMode, CustomEntityLookupSkillLanguage, DataFeedAccessMode, DataFeedAutoRollUpMethod, DataFeedGranularityType, DataFeedMissingDataPointFillType, DataFeedRollupType, DataFeedSourceType, DataFeedStatus, DataFlowComputeType, DataFlowDebugCommandType, DataFlowReferenceType, DatasetCompressionLevel, DatasetReferenceType, DataSourceAuthenticationType, Db2AuthenticationType, DeliveryState, DependencyCondition, DetectionConditionOperator, DimensionScope, DocumentAnalysisAudience, DocumentFieldType, DocumentModelBuildMode, DocumentPageKind, DocumentSignatureType, DocumentTableCellKind, DynamicsAuthenticationType, DynamicsDeploymentType, DynamicsServicePrincipalCredentialType, DynamicsSinkWriteBehavior, EmailAttachmentType, EmailImportance, EncryptionAlgorithm, EntityAssociation, EntityCategory, EntityCategory, EntityCertainty, EntityConditionality, EntityRecognitionSkillLanguage, EntityStatus, EventSubscriptionStatus, EventSubscriptionType, ExpressionType, FeedbackQueryTimeMode, FeedbackType, FhirVersion, FillNaMethod, FtpAuthenticationType, GeoObjectType, GeoReplicationStatus, GeoReplicationStatus, GoogleAdWordsAuthenticationType, GoogleBigQueryAuthenticationType, GrpcExtensionDataTransferMode, H264Profile, HBaseAuthenticationType, HdiNodeTypes, HDInsightActivityDebugInfoOption, HealthcareEntityCategory, HealthcareEntityRelationType, HealthcareFhirResourceType, HiveAuthenticationType, HiveServerType, HiveThriftTransportProtocol, HttpAuthenticationType, ImageAnalysisSkillLanguage, ImageDetail, ImageFormatRawPixelFormat, ImageScaleMode, ImpalaAuthenticationType, ImputeMode, IndexerExecutionEnvironment, IndexerExecutionStatusDetail, IndexingMode, IngestionStatusType, IntegrationRuntimeEdition, IntegrationRuntimeEntityReferenceType, IntegrationRuntimeLicenseType, IntegrationRuntimeReferenceType, IntegrationRuntimeSsisCatalogPricingTier, IntegrationRuntimeState, IntegrationRuntimeType, JobStatus, JsonFormatFilePattern, JsonWriteFilePattern, KeyCurveName, KeyExportEncryptionAlgorithm, KeyOperation, KeyPhraseExtractionSkillLanguage, KeyType, KeyVaultDataAction, KeyVaultRoleDefinitionType, KeyVaultRoleScope, KeyVaultRoleType, KeyWrapAlgorithm, LengthUnit, LexicalAnalyzerName, LexicalNormalizerName, LexicalTokenizerName, LineEnding, LivePipelineState, LivyStatementStates, LivyStates, LivyStates, LogsColumnType, LongRunningOperationStatus, MediaType, MessagingSku, MeterPeriod, MetricAlertConfigurationsOperator, MetricAnomalyAlertScopeType, MetricClass, MetricUnit, ModelOperationKind, ModelOperationStatus, MongoDbAuthenticationType, MotionDetectionSensitivity, Mpeg4Profile, NamespaceClassification, NamespaceType, NetezzaPartitionOption, NodeSize, NodeSizeFamily, NotebookParameterType, NotebookReferenceType, ObjectReplicationStatus, ObjectTrackingAccuracy, OcrSkillLanguage, ODataAadServicePrincipalCredentialType, ODataAuthenticationType, OnvifSystemDateTimeType, OperationStatus, OraclePartitionOption, OrcCompressionCodec, OutputSelectorOperator, OutputSelectorProperty, ParagraphRole, ParameterType, ParameterType, ParquetCompressionCodecEnum, PeriodType, PhoenixAuthenticationType, PhoneNumberAssignmentType, PhoneNumberCapabilityType, PhoneNumberOperationStatus, PhoneNumberOperationType, PhoneNumberType, PiiDetectionSkillMaskingMode, PiiEntityCategory, PiiEntityDomain, PipelineReferenceType, PluginCurrentState, PluginCurrentState, PolicyModification, PolybaseSettingsRejectType, PrestoAuthenticationType, ProviderAvailability, PublicAccessType, PublicAccessType, QueryAnswerType, QueryCaptionType, QueryLanguage, QuerySpellerType, QueueErrorCode, RecordingChannel, RecordingChannelType, RecordingContent, RecordingContentType, RecordingFormat, RecordingFormatType, RecurrenceFrequency, RegexFlags, RehydratePriority, RenderingSessionSize, RenderingSessionStatus, RequestStatus, ReservationStatus, ResourceAuthorIdentityType, ResourceStatus, RestServiceAuthenticationType, RouteType, RtspTransport, RunQueryFilterOperand, RunQueryFilterOperator, RunQueryOrder, RunQueryOrderByField, SalesforceSinkWriteBehavior, SalesforceSourceReadBehavior, SapCloudForCustomerSinkWriteBehavior, SapHanaAuthenticationType, SapHanaPartitionOption, SapTablePartitionOption, SchedulerCurrentState, SchedulerCurrentState, SchemaFormat, ScriptActivityLogDestination, ScriptActivityParameterDirection, ScriptActivityParameterType, ScriptType, SearchFieldDataType, SearchIndexerDataSourceType, SelectionMarkState, SendStatus, SentimentSkillLanguage, ServiceBusErrorSource, ServiceBusFailureReason, ServiceNowAuthenticationType, SettingFields, SftpAuthenticationType, ShareAccessTier, ShareErrorCode, SignatureAlgorithm, SnoozeScope, SparkAuthenticationType, SparkBatchJobResultType, SparkBatchJobResultType, SparkErrorSource, SparkErrorSource, SparkJobReferenceType, SparkJobType, SparkJobType, SparkServerType, SparkSessionResultType, SparkStatementLanguageType, SparkThriftTransportProtocol, SpatialAnalysisOperationFocus, SpatialAnalysisPersonCountEventTrigger, SpatialAnalysisPersonDistanceEventTrigger, SpatialAnalysisPersonZoneCrossingEventType, SplitSkillLanguage, SqlConnectionType, SqlPartitionOption, SqlPoolReferenceType, SqlScriptType, SsisLogLocationType, SsisPackageLocationType, StampKind, StoredProcedureParameterType, SummarySentencesOrder, SybaseAuthenticationType, TableErrorCode, TableServiceGeoReplicationStatus, TargetAvailability, TeamDeskAuthenticationType, TeradataAuthenticationType, TeradataPartitionOption, TextAnalyticsErrorCode, TextSentiment, TextSplitMode, TextTranslationSkillLanguage, TokenFilterName, ToneValue, TriggerReferenceType, TriggerRunStatus, TriggerRuntimeState, TumblingWindowFrequency, Type, VariableType, VideoEncoding, VisualFeature, WarningCode, WebActivityMethod, WebAuthenticationType, WebHookActivityMethod, WebPubSubPermission, ZendeskAuthenticationType

public abstract class ExpandableStringEnum<T extends ExpandableStringEnum<T>> extends Object
Base implementation for expandable, single string enums.
  • Constructor Details

    • ExpandableStringEnum

      public ExpandableStringEnum()
  • Method Details

    • fromString

      protected static <T extends ExpandableStringEnum<T>> T fromString(String name, Class<T> clazz)
      Creates an instance of the specific expandable string enum from a String.
      Type Parameters:
      T - the class of the expandable string enum.
      Parameters:
      name - The value to create the instance from.
      clazz - The class of the expandable string enum.
      Returns:
      The expandable string enum instance.
    • values

      protected static <T extends ExpandableStringEnum<T>> Collection<T> values(Class<T> clazz)
      Gets a collection of all known values to an expandable string enum type.
      Type Parameters:
      T - the class of the expandable string enum.
      Parameters:
      clazz - the class of the expandable string enum.
      Returns:
      A collection of all known values for the given clazz.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object