Class Scheme
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Scheme>
com.azure.resourcemanager.appcontainers.models.Scheme
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Scheme to use for connecting to the host. Defaults to HTTP.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Scheme
fromString
(String name) Creates or finds a Scheme from its string representation.static Collection
<Scheme> values()
Gets known Scheme values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
HTTP
Static value HTTP for Scheme. -
HTTPS
Static value HTTPS for Scheme.
-
-
Constructor Details
-
Scheme
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Scheme value.
-
-
Method Details
-
fromString
Creates or finds a Scheme from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Scheme.
-
values
Gets known Scheme values.- Returns:
- known Scheme values.
-
fromString(String)
factory method.