FileSharePropertiesFileSharePaidBursting Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. FileSharePropertiesFileSharePaidBursting
- com.
Implements
public final class FileSharePropertiesFileSharePaidBursting
implements JsonSerializable<FileSharePropertiesFileSharePaidBursting>
File Share Paid Bursting properties.
Constructor Summary
Constructor | Description |
---|---|
FileSharePropertiesFileSharePaidBursting() |
Creates an instance of File |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
Boolean |
paidBurstingEnabled()
Get the paid |
Integer |
paidBurstingMaxBandwidthMibps()
Get the paid |
Integer |
paidBurstingMaxIops()
Get the paid |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
File |
withPaidBurstingEnabled(Boolean paidBurstingEnabled)
Set the paid |
File |
withPaidBurstingMaxBandwidthMibps(Integer paidBurstingMaxBandwidthMibps)
Set the paid |
File |
withPaidBurstingMaxIops(Integer paidBurstingMaxIops)
Set the paid |
Methods inherited from java.lang.Object
Constructor Details
FileSharePropertiesFileSharePaidBursting
public FileSharePropertiesFileSharePaidBursting()
Creates an instance of FileSharePropertiesFileSharePaidBursting class.
Method Details
fromJson
public static FileSharePropertiesFileSharePaidBursting fromJson(JsonReader jsonReader)
Reads an instance of FileSharePropertiesFileSharePaidBursting from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
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:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
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:
Returns: