
com.azure.resourcemanager.eventgrid.models.PersistedConnectionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventgrid Show documentation
Show all versions of azure-resourcemanager-eventgrid Show documentation
This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventgrid.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* Status of the connection.
*/
public final class PersistedConnectionStatus extends ExpandableStringEnum {
/**
* Static value Pending for PersistedConnectionStatus.
*/
public static final PersistedConnectionStatus PENDING = fromString("Pending");
/**
* Static value Approved for PersistedConnectionStatus.
*/
public static final PersistedConnectionStatus APPROVED = fromString("Approved");
/**
* Static value Rejected for PersistedConnectionStatus.
*/
public static final PersistedConnectionStatus REJECTED = fromString("Rejected");
/**
* Static value Disconnected for PersistedConnectionStatus.
*/
public static final PersistedConnectionStatus DISCONNECTED = fromString("Disconnected");
/**
* Creates a new instance of PersistedConnectionStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public PersistedConnectionStatus() {
}
/**
* Creates or finds a PersistedConnectionStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding PersistedConnectionStatus.
*/
@JsonCreator
public static PersistedConnectionStatus fromString(String name) {
return fromString(name, PersistedConnectionStatus.class);
}
/**
* Gets known PersistedConnectionStatus values.
*
* @return known PersistedConnectionStatus values.
*/
public static Collection values() {
return values(PersistedConnectionStatus.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy