EnabledProtocols Class

public final class EnabledProtocols
extends ExpandableStringEnum<EnabledProtocols>

The authentication protocol that is used for the file share. Can only be specified when creating a share.

Field Summary

Modifier and Type Field and Description
static final EnabledProtocols NFS

Static value NFS for EnabledProtocols.

static final EnabledProtocols SMB

Static value SMB for EnabledProtocols.

Constructor Summary

Constructor Description
EnabledProtocols()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnabledProtocols value.

Method Summary

Modifier and Type Method and Description
static EnabledProtocols fromString(String name)

Creates or finds a EnabledProtocols from its string representation.

static Collection<EnabledProtocols> values()

Gets known EnabledProtocols values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NFS

public static final EnabledProtocols NFS

Static value NFS for EnabledProtocols.

SMB

public static final EnabledProtocols SMB

Static value SMB for EnabledProtocols.

Constructor Details

EnabledProtocols

@Deprecated
public EnabledProtocols()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnabledProtocols value.

Method Details

fromString

public static EnabledProtocols fromString(String name)

Creates or finds a EnabledProtocols from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EnabledProtocols.

values

public static Collection values()

Gets known EnabledProtocols values.

Returns:

known EnabledProtocols values.

Applies to