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