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 Summary
ConstructorsConstructorDescriptionCreates an instance of FileSharePropertiesFileSharePaidBursting class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FileSharePropertiesFileSharePaidBursting from the JsonReader.Get the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share.Get the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second.Get the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPaidBurstingEnabled(Boolean paidBurstingEnabled) Set the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share.withPaidBurstingMaxBandwidthMibps(Integer paidBurstingMaxBandwidthMibps) Set the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second.withPaidBurstingMaxIops(Integer paidBurstingMaxIops) Set the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FileSharePropertiesFileSharePaidBursting
public FileSharePropertiesFileSharePaidBursting()Creates an instance of FileSharePropertiesFileSharePaidBursting class.
-
-
Method Details
-
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
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
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
- Specified by:
toJsonin interfacecom.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.
-