Class Storage
- java.lang.Object
-
- com.azure.resourcemanager.mysqlflexibleserver.models.Storage
-
public final class Storage extends Object
Storage Profile properties of a server.
-
-
Constructor Summary
Constructors Constructor Description Storage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableStatusEnum
autoGrow()
Get the autoGrow property: Enable Storage Auto Grow or not.Integer
iops()
Get the iops property: Storage IOPS for a server.Integer
storageSizeGB()
Get the storageSizeGB property: Max storage size allowed for a server.String
storageSku()
Get the storageSku property: The sku name of the server storage.void
validate()
Validates the instance.Storage
withAutoGrow(EnableStatusEnum autoGrow)
Set the autoGrow property: Enable Storage Auto Grow or not.Storage
withIops(Integer iops)
Set the iops property: Storage IOPS for a server.Storage
withStorageSizeGB(Integer storageSizeGB)
Set the storageSizeGB property: Max storage size allowed for a server.
-
-
-
Method Detail
-
storageSizeGB
public Integer storageSizeGB()
Get the storageSizeGB property: Max storage size allowed for a server.- Returns:
- the storageSizeGB value.
-
withStorageSizeGB
public Storage withStorageSizeGB(Integer storageSizeGB)
Set the storageSizeGB property: Max storage size allowed for a server.- Parameters:
storageSizeGB
- the storageSizeGB value to set.- Returns:
- the Storage object itself.
-
iops
public Integer iops()
Get the iops property: Storage IOPS for a server.- Returns:
- the iops value.
-
withIops
public Storage withIops(Integer iops)
Set the iops property: Storage IOPS for a server.- Parameters:
iops
- the iops value to set.- Returns:
- the Storage object itself.
-
autoGrow
public EnableStatusEnum autoGrow()
Get the autoGrow property: Enable Storage Auto Grow or not.- Returns:
- the autoGrow value.
-
withAutoGrow
public Storage withAutoGrow(EnableStatusEnum autoGrow)
Set the autoGrow property: Enable Storage Auto Grow or not.- Parameters:
autoGrow
- the autoGrow value to set.- Returns:
- the Storage object itself.
-
storageSku
public String storageSku()
Get the storageSku property: The sku name of the server storage.- Returns:
- the storageSku value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-