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