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