Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cdn;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for DomainValidationState.
/**
* Defines values for DomainValidationState.
*/
public final class DomainValidationState extends ExpandableStringEnum<DomainValidationState> {
Static value Unknown for DomainValidationState. /** Static value Unknown for DomainValidationState. */
public static final DomainValidationState UNKNOWN = fromString("Unknown");
Static value Submitting for DomainValidationState. /** Static value Submitting for DomainValidationState. */
public static final DomainValidationState SUBMITTING = fromString("Submitting");
Static value Pending for DomainValidationState. /** Static value Pending for DomainValidationState. */
public static final DomainValidationState PENDING = fromString("Pending");
Static value TimedOut for DomainValidationState. /** Static value TimedOut for DomainValidationState. */
public static final DomainValidationState TIMED_OUT = fromString("TimedOut");
Static value PendingRevalidation for DomainValidationState. /** Static value PendingRevalidation for DomainValidationState. */
public static final DomainValidationState PENDING_REVALIDATION = fromString("PendingRevalidation");
Static value Approved for DomainValidationState. /** Static value Approved for DomainValidationState. */
public static final DomainValidationState APPROVED = fromString("Approved");
Creates or finds a DomainValidationState from its string representation.
Params: - name – a name to look for
Returns: the corresponding DomainValidationState
/**
* Creates or finds a DomainValidationState from its string representation.
* @param name a name to look for
* @return the corresponding DomainValidationState
*/
@JsonCreator
public static DomainValidationState fromString(String name) {
return fromString(name, DomainValidationState.class);
}
Returns: known DomainValidationState values
/**
* @return known DomainValidationState values
*/
public static Collection<DomainValidationState> values() {
return values(DomainValidationState.class);
}
}