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 PolicyResourceState.
/**
* Defines values for PolicyResourceState.
*/
public final class PolicyResourceState extends ExpandableStringEnum<PolicyResourceState> {
Static value Creating for PolicyResourceState. /** Static value Creating for PolicyResourceState. */
public static final PolicyResourceState CREATING = fromString("Creating");
Static value Enabling for PolicyResourceState. /** Static value Enabling for PolicyResourceState. */
public static final PolicyResourceState ENABLING = fromString("Enabling");
Static value Enabled for PolicyResourceState. /** Static value Enabled for PolicyResourceState. */
public static final PolicyResourceState ENABLED = fromString("Enabled");
Static value Disabling for PolicyResourceState. /** Static value Disabling for PolicyResourceState. */
public static final PolicyResourceState DISABLING = fromString("Disabling");
Static value Disabled for PolicyResourceState. /** Static value Disabled for PolicyResourceState. */
public static final PolicyResourceState DISABLED = fromString("Disabled");
Static value Deleting for PolicyResourceState. /** Static value Deleting for PolicyResourceState. */
public static final PolicyResourceState DELETING = fromString("Deleting");
Creates or finds a PolicyResourceState from its string representation.
Params: - name – a name to look for
Returns: the corresponding PolicyResourceState
/**
* Creates or finds a PolicyResourceState from its string representation.
* @param name a name to look for
* @return the corresponding PolicyResourceState
*/
@JsonCreator
public static PolicyResourceState fromString(String name) {
return fromString(name, PolicyResourceState.class);
}
Returns: known PolicyResourceState values
/**
* @return known PolicyResourceState values
*/
public static Collection<PolicyResourceState> values() {
return values(PolicyResourceState.class);
}
}