Поделиться через


FileSharePropertiesFileSharePaidBursting Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.FileSharePropertiesFileSharePaidBursting

Implements

public final class FileSharePropertiesFileSharePaidBursting
implements JsonSerializable<FileSharePropertiesFileSharePaidBursting>

File Share Paid Bursting properties.

Constructor Summary

Constructor Description
FileSharePropertiesFileSharePaidBursting()

Creates an instance of FileSharePropertiesFileSharePaidBursting class.

Method Summary

Modifier and Type Method and Description
static FileSharePropertiesFileSharePaidBursting fromJson(JsonReader jsonReader)

Reads an instance of FileSharePropertiesFileSharePaidBursting from the JsonReader.

Boolean paidBurstingEnabled()

Get the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share.

Integer paidBurstingMaxBandwidthMibps()

Get the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second.

Integer paidBurstingMaxIops()

Get the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FileSharePropertiesFileSharePaidBursting withPaidBurstingEnabled(Boolean paidBurstingEnabled)

Set the paidBurstingEnabled property: Indicates whether paid bursting is enabled for the share.

FileSharePropertiesFileSharePaidBursting withPaidBurstingMaxBandwidthMibps(Integer paidBurstingMaxBandwidthMibps)

Set the paidBurstingMaxBandwidthMibps property: The maximum paid bursting bandwidth for the share, in mebibytes per second.

FileSharePropertiesFileSharePaidBursting withPaidBurstingMaxIops(Integer paidBurstingMaxIops)

Set the paidBurstingMaxIops property: The maximum paid bursting IOPS for the share.

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:

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.

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.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

paidBurstingEnabled - the paidBurstingEnabled value to set.

Returns:

the FileSharePropertiesFileSharePaidBursting object itself.

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.

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.

Applies to