azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.file.shar...

97 строки
5.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.file.share.models.ShareProtocols"
fullName: "com.azure.storage.file.share.models.ShareProtocols"
name: "ShareProtocols"
nameWithType: "ShareProtocols"
summary: "Represents protocols that can be set on a share."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **ShareProtocols**"
constructors:
- uid: "com.azure.storage.file.share.models.ShareProtocols.ShareProtocols()"
fullName: "com.azure.storage.file.share.models.ShareProtocols.ShareProtocols()"
name: "ShareProtocols()"
nameWithType: "ShareProtocols.ShareProtocols()"
summary: "Creates a new instance of <xref uid=\"com.azure.storage.file.share.models.ShareProtocols\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ShareProtocols\"></xref>."
syntax: "public ShareProtocols()"
desc: "Creates a new instance of <xref uid=\"com.azure.storage.file.share.models.ShareProtocols\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ShareProtocols\"></xref>."
methods:
- uid: "com.azure.storage.file.share.models.ShareProtocols.isNfsEnabled()"
fullName: "com.azure.storage.file.share.models.ShareProtocols.isNfsEnabled()"
name: "isNfsEnabled()"
nameWithType: "ShareProtocols.isNfsEnabled()"
summary: "Whether NFS is enabled."
syntax: "public boolean isNfsEnabled()"
desc: "Whether NFS is enabled."
returns:
description: "Enable NFS"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.share.models.ShareProtocols.isSmbEnabled()"
fullName: "com.azure.storage.file.share.models.ShareProtocols.isSmbEnabled()"
name: "isSmbEnabled()"
nameWithType: "ShareProtocols.isSmbEnabled()"
summary: "Whether SMB is enabled."
syntax: "public boolean isSmbEnabled()"
desc: "Whether SMB is enabled."
returns:
description: "Enable SMB"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.share.models.ShareProtocols.setNfsEnabled(boolean)"
fullName: "com.azure.storage.file.share.models.ShareProtocols.setNfsEnabled(boolean nfs)"
name: "setNfsEnabled(boolean nfs)"
nameWithType: "ShareProtocols.setNfsEnabled(boolean nfs)"
summary: "Sets whether NFS is enabled."
parameters:
- description: "Enable NFS"
name: "nfs"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ShareProtocols setNfsEnabled(boolean nfs)"
desc: "Sets whether NFS is enabled."
returns:
description: "The updated object"
type: "<xref href=\"com.azure.storage.file.share.models.ShareProtocols?alt=com.azure.storage.file.share.models.ShareProtocols&text=ShareProtocols\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.share.models.ShareProtocols.setSmbEnabled(boolean)"
fullName: "com.azure.storage.file.share.models.ShareProtocols.setSmbEnabled(boolean smb)"
name: "setSmbEnabled(boolean smb)"
nameWithType: "ShareProtocols.setSmbEnabled(boolean smb)"
summary: "Sets whether SMB is enabled."
parameters:
- description: "Enable SMB"
name: "smb"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ShareProtocols setSmbEnabled(boolean smb)"
desc: "Sets whether SMB is enabled."
returns:
description: "The updated object"
type: "<xref href=\"com.azure.storage.file.share.models.ShareProtocols?alt=com.azure.storage.file.share.models.ShareProtocols&text=ShareProtocols\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.share.models.ShareProtocols.toString()"
fullName: "com.azure.storage.file.share.models.ShareProtocols.toString()"
name: "toString()"
nameWithType: "ShareProtocols.toString()"
summary: "Converts the given protocols to a `String`."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Converts the given protocols to a `String`."
returns:
description: "A <code>String</code> which represents the enabled protocols."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Represents protocols that can be set on a share."
metadata: {}
package: "com.azure.storage.file.share.models"
artifact: com.azure:azure-storage-file-share:12.24.0