Class PerformanceTierServiceLevelObjectives

java.lang.Object
com.azure.resourcemanager.mariadb.models.PerformanceTierServiceLevelObjectives

public final class PerformanceTierServiceLevelObjectives extends Object
Service level objectives for performance tier.
  • Constructor Details

    • PerformanceTierServiceLevelObjectives

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

    • id

      public String id()
      Get the id property: ID for the service level objective.
      Returns:
      the id value.
    • withId

      Set the id property: ID for the service level objective.
      Parameters:
      id - the id value to set.
      Returns:
      the PerformanceTierServiceLevelObjectives object itself.
    • edition

      public String edition()
      Get the edition property: Edition of the performance tier.
      Returns:
      the edition value.
    • withEdition

      public PerformanceTierServiceLevelObjectives withEdition(String edition)
      Set the edition property: Edition of the performance tier.
      Parameters:
      edition - the edition value to set.
      Returns:
      the PerformanceTierServiceLevelObjectives object itself.
    • vCore

      public Integer vCore()
      Get the vCore property: vCore associated with the service level objective.
      Returns:
      the vCore value.
    • withVCore

      Set the vCore property: vCore associated with the service level objective.
      Parameters:
      vCore - the vCore value to set.
      Returns:
      the PerformanceTierServiceLevelObjectives object itself.
    • hardwareGeneration

      public String hardwareGeneration()
      Get the hardwareGeneration property: Hardware generation associated with the service level objective.
      Returns:
      the hardwareGeneration value.
    • withHardwareGeneration

      public PerformanceTierServiceLevelObjectives withHardwareGeneration(String hardwareGeneration)
      Set the hardwareGeneration property: Hardware generation associated with the service level objective.
      Parameters:
      hardwareGeneration - the hardwareGeneration value to set.
      Returns:
      the PerformanceTierServiceLevelObjectives 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 PerformanceTierServiceLevelObjectives 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 PerformanceTierServiceLevelObjectives 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 PerformanceTierServiceLevelObjectives 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 PerformanceTierServiceLevelObjectives object itself.
    • maxStorageMB

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

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

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

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

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