Class PerformanceTierServiceLevelObjectives
- java.lang.Object
-
- com.azure.resourcemanager.mysql.models.PerformanceTierServiceLevelObjectives
-
public final class PerformanceTierServiceLevelObjectives extends Object
Service level objectives for performance tier.
-
-
Constructor Summary
Constructors Constructor Description PerformanceTierServiceLevelObjectives()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringedition()Get the edition property: Edition of the performance tier.StringhardwareGeneration()Get the hardwareGeneration property: Hardware generation associated with the service level objective.Stringid()Get the id property: ID for the service level objective.IntegermaxBackupRetentionDays()Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.IntegermaxStorageMB()Get the maxStorageMB property: Max storage allowed for a server.IntegerminBackupRetentionDays()Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.IntegerminStorageMB()Get the minStorageMB property: Max storage allowed for a server.voidvalidate()Validates the instance.IntegervCore()Get the vCore property: vCore associated with the service level objective.PerformanceTierServiceLevelObjectiveswithEdition(String edition)Set the edition property: Edition of the performance tier.PerformanceTierServiceLevelObjectiveswithHardwareGeneration(String hardwareGeneration)Set the hardwareGeneration property: Hardware generation associated with the service level objective.PerformanceTierServiceLevelObjectiveswithId(String id)Set the id property: ID for the service level objective.PerformanceTierServiceLevelObjectiveswithMaxBackupRetentionDays(Integer maxBackupRetentionDays)Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.PerformanceTierServiceLevelObjectiveswithMaxStorageMB(Integer maxStorageMB)Set the maxStorageMB property: Max storage allowed for a server.PerformanceTierServiceLevelObjectiveswithMinBackupRetentionDays(Integer minBackupRetentionDays)Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.PerformanceTierServiceLevelObjectiveswithMinStorageMB(Integer minStorageMB)Set the minStorageMB property: Max storage allowed for a server.PerformanceTierServiceLevelObjectiveswithVCore(Integer vCore)Set the vCore property: vCore associated with the service level objective.
-
-
-
Method Detail
-
id
public String id()
Get the id property: ID for the service level objective.- Returns:
- the id value.
-
withId
public PerformanceTierServiceLevelObjectives withId(String id)
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
public PerformanceTierServiceLevelObjectives withVCore(Integer vCore)
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.
-
-