Class PerformanceTierServiceLevelObjectives
java.lang.Object
com.azure.resourcemanager.mariadb.models.PerformanceTierServiceLevelObjectives
Service level objectives for performance tier.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PerformanceTierServiceLevelObjectives class. -
Method Summary
Modifier and TypeMethodDescriptionedition()
Get the edition property: Edition of the performance tier.Get the hardwareGeneration property: Hardware generation associated with the service level objective.id()
Get the id property: ID for the service level objective.Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.Get the maxStorageMB property: Max storage allowed for a server.Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.Get the minStorageMB property: Max storage allowed for a server.void
validate()
Validates the instance.vCore()
Get the vCore property: vCore associated with the service level objective.withEdition
(String edition) Set the edition property: Edition of the performance tier.withHardwareGeneration
(String hardwareGeneration) Set the hardwareGeneration property: Hardware generation associated with the service level objective.Set the id property: ID for the service level objective.withMaxBackupRetentionDays
(Integer maxBackupRetentionDays) Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.withMaxStorageMB
(Integer maxStorageMB) Set the maxStorageMB property: Max storage allowed for a server.withMinBackupRetentionDays
(Integer minBackupRetentionDays) Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.withMinStorageMB
(Integer minStorageMB) Set the minStorageMB property: Max storage allowed for a server.Set the vCore property: vCore associated with the service level objective.
-
Constructor Details
-
PerformanceTierServiceLevelObjectives
public PerformanceTierServiceLevelObjectives()Creates an instance of PerformanceTierServiceLevelObjectives class.
-
-
Method Details
-
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
Get the edition property: Edition of the performance tier.- Returns:
- the edition value.
-
withEdition
Set the edition property: Edition of the performance tier.- Parameters:
edition
- the edition value to set.- Returns:
- the PerformanceTierServiceLevelObjectives object itself.
-
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
Get the hardwareGeneration property: Hardware generation associated with the service level objective.- Returns:
- the hardwareGeneration value.
-
withHardwareGeneration
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
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
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
Get the maxStorageMB property: Max storage allowed for a server.- Returns:
- the maxStorageMB value.
-
withMaxStorageMB
Set the maxStorageMB property: Max storage allowed for a server.- Parameters:
maxStorageMB
- the maxStorageMB value to set.- Returns:
- the PerformanceTierServiceLevelObjectives object itself.
-
minStorageMB
Get the minStorageMB property: Max storage allowed for a server.- Returns:
- the minStorageMB value.
-
withMinStorageMB
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.
-