Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.storage; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for EnabledProtocols.
/** * Defines values for EnabledProtocols. */
public final class EnabledProtocols extends ExpandableStringEnum<EnabledProtocols> {
Static value SMB for EnabledProtocols.
/** Static value SMB for EnabledProtocols. */
public static final EnabledProtocols SMB = fromString("SMB");
Static value NFS for EnabledProtocols.
/** Static value NFS for EnabledProtocols. */
public static final EnabledProtocols NFS = fromString("NFS");
Creates or finds a EnabledProtocols from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding EnabledProtocols
/** * Creates or finds a EnabledProtocols from its string representation. * @param name a name to look for * @return the corresponding EnabledProtocols */
@JsonCreator public static EnabledProtocols fromString(String name) { return fromString(name, EnabledProtocols.class); }
Returns:known EnabledProtocols values
/** * @return known EnabledProtocols values */
public static Collection<EnabledProtocols> values() { return values(EnabledProtocols.class); } }