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