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