
com.azure.resourcemanager.appcontainers.models.Scheme 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.appcontainers.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Scheme to use for connecting to the host. Defaults to HTTP.
*/
public final class Scheme extends ExpandableStringEnum {
/**
* Static value HTTP for Scheme.
*/
public static final Scheme HTTP = fromString("HTTP");
/**
* Static value HTTPS for Scheme.
*/
public static final Scheme HTTPS = fromString("HTTPS");
/**
* Creates a new instance of Scheme value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Scheme() {
}
/**
* Creates or finds a Scheme from its string representation.
*
* @param name a name to look for.
* @return the corresponding Scheme.
*/
public static Scheme fromString(String name) {
return fromString(name, Scheme.class);
}
/**
* Gets known Scheme values.
*
* @return known Scheme values.
*/
public static Collection values() {
return values(Scheme.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy