Class PerformanceTierPropertiesInner

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.PerformanceTierPropertiesInner

public final class PerformanceTierPropertiesInner extends Object
Performance tier properties.
  • Constructor Details

    • PerformanceTierPropertiesInner

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

    • id

      public String id()
      Get the id property: ID of the performance tier.
      Returns:
      the id value.
    • withId

      Set the id property: ID of the performance tier.
      Parameters:
      id - the id value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • maxBackupRetentionDays

      public Integer maxBackupRetentionDays()
      Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
      Returns:
      the maxBackupRetentionDays value.
    • withMaxBackupRetentionDays

      public PerformanceTierPropertiesInner withMaxBackupRetentionDays(Integer maxBackupRetentionDays)
      Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
      Parameters:
      maxBackupRetentionDays - the maxBackupRetentionDays value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • minBackupRetentionDays

      public Integer minBackupRetentionDays()
      Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.
      Returns:
      the minBackupRetentionDays value.
    • withMinBackupRetentionDays

      public PerformanceTierPropertiesInner withMinBackupRetentionDays(Integer minBackupRetentionDays)
      Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.
      Parameters:
      minBackupRetentionDays - the minBackupRetentionDays value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • maxStorageMB

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

      public PerformanceTierPropertiesInner withMaxStorageMB(Integer maxStorageMB)
      Set the maxStorageMB property: Max storage allowed for a server.
      Parameters:
      maxStorageMB - the maxStorageMB value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • minLargeStorageMB

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

      public PerformanceTierPropertiesInner withMinLargeStorageMB(Integer minLargeStorageMB)
      Set the minLargeStorageMB property: Max storage allowed for a server.
      Parameters:
      minLargeStorageMB - the minLargeStorageMB value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • maxLargeStorageMB

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

      public PerformanceTierPropertiesInner withMaxLargeStorageMB(Integer maxLargeStorageMB)
      Set the maxLargeStorageMB property: Max storage allowed for a server.
      Parameters:
      maxLargeStorageMB - the maxLargeStorageMB value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • minStorageMB

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

      public PerformanceTierPropertiesInner withMinStorageMB(Integer minStorageMB)
      Set the minStorageMB property: Max storage allowed for a server.
      Parameters:
      minStorageMB - the minStorageMB value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • serviceLevelObjectives

      public List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives()
      Get the serviceLevelObjectives property: Service level objectives associated with the performance tier.
      Returns:
      the serviceLevelObjectives value.
    • withServiceLevelObjectives

      public PerformanceTierPropertiesInner withServiceLevelObjectives(List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives)
      Set the serviceLevelObjectives property: Service level objectives associated with the performance tier.
      Parameters:
      serviceLevelObjectives - the serviceLevelObjectives value to set.
      Returns:
      the PerformanceTierPropertiesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.