com.azure.resourcemanager.recoveryservicesbackup.models.ProvisioningState 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;
/**
* Gets or sets provisioning state of the private endpoint connection.
*/
public final class ProvisioningState extends ExpandableStringEnum {
/**
* Static value Succeeded for ProvisioningState.
*/
public static final ProvisioningState SUCCEEDED = fromString("Succeeded");
/**
* Static value Deleting for ProvisioningState.
*/
public static final ProvisioningState DELETING = fromString("Deleting");
/**
* Static value Failed for ProvisioningState.
*/
public static final ProvisioningState FAILED = fromString("Failed");
/**
* Static value Pending for ProvisioningState.
*/
public static final ProvisioningState PENDING = fromString("Pending");
/**
* Creates a new instance of ProvisioningState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ProvisioningState() {
}
/**
* Creates or finds a ProvisioningState from its string representation.
*
* @param name a name to look for.
* @return the corresponding ProvisioningState.
*/
@JsonCreator
public static ProvisioningState fromString(String name) {
return fromString(name, ProvisioningState.class);
}
/**
* Gets known ProvisioningState values.
*
* @return known ProvisioningState values.
*/
public static Collection values() {
return values(ProvisioningState.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy