java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Storage

public final class Storage extends Object
Storage properties of a server.
  • Constructor Details

    • Storage

      public Storage()
      Creates an instance of Storage class.
  • Method Details

    • storageSizeGB

      public Integer storageSizeGB()
      Get the storageSizeGB property: Max storage allowed for a server.
      Returns:
      the storageSizeGB value.
    • withStorageSizeGB

      public Storage withStorageSizeGB(Integer storageSizeGB)
      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.