ProtocolTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. netapp. models. ProtocolTypes
- com.
- com.
public final class ProtocolTypes
extends ExpandableStringEnum<ProtocolTypes>
Set of supported protocol types, which include NFSv3, NFSv4 and SMB protocol.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Protocol |
NFSV3
NFSv3 protocol type. |
|
static final
Protocol |
NFSV4
NFSv4 protocol type. |
|
static final
Protocol |
SMB
SMB protocol type. |
Constructor Summary
| Constructor | Description |
|---|---|
| ProtocolTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Protocol |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Protocol |
fromString(String name)
Creates or finds a Protocol |
|
static
Collection<Protocol |
values()
Gets known Protocol |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NFSV3
public static final ProtocolTypes NFSV3
NFSv3 protocol type.
NFSV4
public static final ProtocolTypes NFSV4
NFSv4 protocol type.
SMB
public static final ProtocolTypes SMB
SMB protocol type.
Constructor Details
ProtocolTypes
@Deprecated
public ProtocolTypes()
Deprecated
Creates a new instance of ProtocolTypes value.
Method Details
fromString
public static ProtocolTypes fromString(String name)
Creates or finds a ProtocolTypes from its string representation.
Parameters:
Returns:
values
public static Collection<ProtocolTypes> values()
Gets known ProtocolTypes values.
Returns: