Class MountTargetProperties
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.MountTargetProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MountTargetProperties>
public final class MountTargetProperties
extends Object
implements com.azure.json.JsonSerializable<MountTargetProperties>
Mount target properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the fileSystemId property: UUID v4 used to identify the MountTarget.static MountTargetProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MountTargetProperties from the JsonReader.Get the ipAddress property: The mount target's IPv4 address.Get the mountTargetId property: UUID v4 used to identify the MountTarget.Get the smbServerFqdn property: The SMB server's Fully Qualified Domain Name, FQDN.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withFileSystemId
(String fileSystemId) Set the fileSystemId property: UUID v4 used to identify the MountTarget.withSmbServerFqdn
(String smbServerFqdn) Set the smbServerFqdn property: The SMB server's Fully Qualified Domain Name, FQDN.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MountTargetProperties
public MountTargetProperties()Creates an instance of MountTargetProperties class.
-
-
Method Details
-
mountTargetId
Get the mountTargetId property: UUID v4 used to identify the MountTarget.- Returns:
- the mountTargetId value.
-
fileSystemId
Get the fileSystemId property: UUID v4 used to identify the MountTarget.- Returns:
- the fileSystemId value.
-
withFileSystemId
Set the fileSystemId property: UUID v4 used to identify the MountTarget.- Parameters:
fileSystemId
- the fileSystemId value to set.- Returns:
- the MountTargetProperties object itself.
-
ipAddress
Get the ipAddress property: The mount target's IPv4 address.- Returns:
- the ipAddress value.
-
smbServerFqdn
Get the smbServerFqdn property: The SMB server's Fully Qualified Domain Name, FQDN.- Returns:
- the smbServerFqdn value.
-
withSmbServerFqdn
Set the smbServerFqdn property: The SMB server's Fully Qualified Domain Name, FQDN.- Parameters:
smbServerFqdn
- the smbServerFqdn value to set.- Returns:
- the MountTargetProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<MountTargetProperties>
- Throws:
IOException
-
fromJson
public static MountTargetProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MountTargetProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of MountTargetProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the MountTargetProperties.
-