Class Storage
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Storage
Storage properties of a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the storageSizeGB property: Max storage allowed for a server.void
validate()
Validates the instance.withStorageSizeGB
(Integer storageSizeGB) Set the storageSizeGB property: Max storage allowed for a server.
-
Constructor Details
-
Storage
public Storage()Creates an instance of Storage class.
-
-
Method Details
-
storageSizeGB
Get the storageSizeGB property: Max storage allowed for a server.- Returns:
- the storageSizeGB value.
-
withStorageSizeGB
Set the storageSizeGB property: Max storage allowed for a server.- Parameters:
storageSizeGB
- the storageSizeGB value to set.- Returns:
- the Storage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-