Class FileshareProfile

java.lang.Object
com.azure.resourcemanager.workloads.models.FileshareProfile

public final class FileshareProfile extends Object
File share profile.
  • Constructor Details

    • FileshareProfile

      public FileshareProfile()
  • Method Details

    • shareType

      public FileShareType shareType()
      Get the shareType property: Share type.
      Returns:
      the shareType value.
    • withShareType

      public FileshareProfile withShareType(FileShareType shareType)
      Set the shareType property: Share type.
      Parameters:
      shareType - the shareType value to set.
      Returns:
      the FileshareProfile object itself.
    • storageType

      public FileShareStorageType storageType()
      Get the storageType property: File share backing storage type.
      Returns:
      the storageType value.
    • withStorageType

      public FileshareProfile withStorageType(FileShareStorageType storageType)
      Set the storageType property: File share backing storage type.
      Parameters:
      storageType - the storageType value to set.
      Returns:
      the FileshareProfile object itself.
    • shareSizeInGB

      public Long shareSizeInGB()
      Get the shareSizeInGB property: File share size in GB.
      Returns:
      the shareSizeInGB value.
    • withShareSizeInGB

      public FileshareProfile withShareSizeInGB(Long shareSizeInGB)
      Set the shareSizeInGB property: File share size in GB.
      Parameters:
      shareSizeInGB - the shareSizeInGB value to set.
      Returns:
      the FileshareProfile object itself.
    • storageResourceId

      public String storageResourceId()
      Get the storageResourceId property: File share storage resource id.
      Returns:
      the storageResourceId value.
    • shareName

      public String shareName()
      Get the shareName property: File share name.
      Returns:
      the shareName value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.