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 Details

    • MountTargetProperties

      public MountTargetProperties()
      Creates an instance of MountTargetProperties class.
  • Method Details

    • mountTargetId

      public String mountTargetId()
      Get the mountTargetId property: UUID v4 used to identify the MountTarget.
      Returns:
      the mountTargetId value.
    • fileSystemId

      public String fileSystemId()
      Get the fileSystemId property: UUID v4 used to identify the MountTarget.
      Returns:
      the fileSystemId value.
    • withFileSystemId

      public MountTargetProperties withFileSystemId(String fileSystemId)
      Set the fileSystemId property: UUID v4 used to identify the MountTarget.
      Parameters:
      fileSystemId - the fileSystemId value to set.
      Returns:
      the MountTargetProperties object itself.
    • ipAddress

      public String ipAddress()
      Get the ipAddress property: The mount target's IPv4 address.
      Returns:
      the ipAddress value.
    • smbServerFqdn

      public String smbServerFqdn()
      Get the smbServerFqdn property: The SMB server's Fully Qualified Domain Name, FQDN.
      Returns:
      the smbServerFqdn value.
    • withSmbServerFqdn

      public MountTargetProperties withSmbServerFqdn(String smbServerFqdn)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.