Class FileSharePropertiesFileSharePaidBursting

java.lang.Object
com.azure.resourcemanager.storage.models.FileSharePropertiesFileSharePaidBursting
All Implemented Interfaces:
com.azure.json.JsonSerializable<FileSharePropertiesFileSharePaidBursting>

public final class FileSharePropertiesFileSharePaidBursting extends Object implements com.azure.json.JsonSerializable<FileSharePropertiesFileSharePaidBursting>
File Share Paid Bursting properties.
  • Constructor Details

    • FileSharePropertiesFileSharePaidBursting

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

    • paidBurstingEnabled

      public Boolean paidBurstingEnabled()
      Get the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type.
      Returns:
      the paidBurstingEnabled value.
    • withPaidBurstingEnabled

      public FileSharePropertiesFileSharePaidBursting withPaidBurstingEnabled(Boolean paidBurstingEnabled)
      Set the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type.
      Parameters:
      paidBurstingEnabled - the paidBurstingEnabled value to set.
      Returns:
      the FileSharePropertiesFileSharePaidBursting object itself.
    • paidBurstingMaxIops

      public Integer paidBurstingMaxIops()
      Get the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share.
      Returns:
      the paidBurstingMaxIops value.
    • withPaidBurstingMaxIops

      public FileSharePropertiesFileSharePaidBursting withPaidBurstingMaxIops(Integer paidBurstingMaxIops)
      Set the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share.
      Parameters:
      paidBurstingMaxIops - the paidBurstingMaxIops value to set.
      Returns:
      the FileSharePropertiesFileSharePaidBursting object itself.
    • paidBurstingMaxBandwidthMibps

      public Integer paidBurstingMaxBandwidthMibps()
      Get the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share.
      Returns:
      the paidBurstingMaxBandwidthMibps value.
    • withPaidBurstingMaxBandwidthMibps

      public FileSharePropertiesFileSharePaidBursting withPaidBurstingMaxBandwidthMibps(Integer paidBurstingMaxBandwidthMibps)
      Set the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share.
      Parameters:
      paidBurstingMaxBandwidthMibps - the paidBurstingMaxBandwidthMibps value to set.
      Returns:
      the FileSharePropertiesFileSharePaidBursting 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<FileSharePropertiesFileSharePaidBursting>
      Throws:
      IOException
    • fromJson

      public static FileSharePropertiesFileSharePaidBursting fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FileSharePropertiesFileSharePaidBursting from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FileSharePropertiesFileSharePaidBursting if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the FileSharePropertiesFileSharePaidBursting.