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.resources;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for ResourceNameStatus.
/**
* Defines values for ResourceNameStatus.
*/
public final class ResourceNameStatus extends ExpandableStringEnum<ResourceNameStatus> {
Static value Allowed for ResourceNameStatus. /** Static value Allowed for ResourceNameStatus. */
public static final ResourceNameStatus ALLOWED = fromString("Allowed");
Static value Reserved for ResourceNameStatus. /** Static value Reserved for ResourceNameStatus. */
public static final ResourceNameStatus RESERVED = fromString("Reserved");
Creates or finds a ResourceNameStatus from its string representation.
Params: - name – a name to look for
Returns: the corresponding ResourceNameStatus
/**
* Creates or finds a ResourceNameStatus from its string representation.
* @param name a name to look for
* @return the corresponding ResourceNameStatus
*/
@JsonCreator
public static ResourceNameStatus fromString(String name) {
return fromString(name, ResourceNameStatus.class);
}
Returns: known ResourceNameStatus values
/**
* @return known ResourceNameStatus values
*/
public static Collection<ResourceNameStatus> values() {
return values(ResourceNameStatus.class);
}
}