Class ShareAccessProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ShareAccessProtocol>
com.azure.resourcemanager.databoxedge.models.ShareAccessProtocol
public final class ShareAccessProtocol
extends com.azure.core.util.ExpandableStringEnum<ShareAccessProtocol>
Access protocol to be used by the share.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ShareAccessProtocol
Static value NFS for ShareAccessProtocol.static final ShareAccessProtocol
Static value SMB for ShareAccessProtocol. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShareAccessProtocol
fromString
(String name) Creates or finds a ShareAccessProtocol from its string representation.static Collection<ShareAccessProtocol>
values()
Gets known ShareAccessProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SMB
Static value SMB for ShareAccessProtocol. -
NFS
Static value NFS for ShareAccessProtocol.
-
-
Constructor Details
-
ShareAccessProtocol
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ShareAccessProtocol value.
-
-
Method Details
-
fromString
Creates or finds a ShareAccessProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ShareAccessProtocol.
-
values
Gets known ShareAccessProtocol values.- Returns:
- known ShareAccessProtocol values.
-
fromString(String)
factory method.