com.azure.resourcemanager.recoveryservicesbackup.models.InfrastructureEncryptionState Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* Defines values for InfrastructureEncryptionState.
*/
public final class InfrastructureEncryptionState extends ExpandableStringEnum {
/**
* Static value Invalid for InfrastructureEncryptionState.
*/
public static final InfrastructureEncryptionState INVALID = fromString("Invalid");
/**
* Static value Disabled for InfrastructureEncryptionState.
*/
public static final InfrastructureEncryptionState DISABLED = fromString("Disabled");
/**
* Static value Enabled for InfrastructureEncryptionState.
*/
public static final InfrastructureEncryptionState ENABLED = fromString("Enabled");
/**
* Creates a new instance of InfrastructureEncryptionState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public InfrastructureEncryptionState() {
}
/**
* Creates or finds a InfrastructureEncryptionState from its string representation.
*
* @param name a name to look for.
* @return the corresponding InfrastructureEncryptionState.
*/
@JsonCreator
public static InfrastructureEncryptionState fromString(String name) {
return fromString(name, InfrastructureEncryptionState.class);
}
/**
* Gets known InfrastructureEncryptionState values.
*
* @return known InfrastructureEncryptionState values.
*/
public static Collection values() {
return values(InfrastructureEncryptionState.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy