Scheme Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerinstance. models. Scheme
- com.
- com.
public final class Scheme
extends ExpandableStringEnum<Scheme>
The scheme.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Scheme |
HTTP
http. |
| static final Scheme |
HTTPS
https. |
Constructor Summary
| Constructor | Description |
|---|---|
| Scheme() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Scheme value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Scheme |
fromString(String name)
Creates or finds a Scheme from its string representation. |
| static Collection<Scheme> |
values()
Gets known Scheme values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HTTP
public static final Scheme HTTP
http.
HTTPS
public static final Scheme HTTPS
https.
Constructor Details
Scheme
@Deprecated
public Scheme()
Deprecated
Creates a new instance of Scheme value.
Method Details
fromString
public static Scheme fromString(String name)
Creates or finds a Scheme from its string representation.
Parameters:
Returns:
values
public static Collection<Scheme> values()
Gets known Scheme values.
Returns: