PerformanceTierServiceLevelObjectives Class

  • java.lang.Object
    • com.azure.resourcemanager.mysql.models.PerformanceTierServiceLevelObjectives

public final class PerformanceTierServiceLevelObjectives

Service level objectives for performance tier.

Constructor Summary

Constructor Description
PerformanceTierServiceLevelObjectives()

Method Summary

Modifier and Type Method and Description
String edition()

Get the edition property: Edition of the performance tier.

String hardwareGeneration()

Get the hardwareGeneration property: Hardware generation associated with the service level objective.

String id()

Get the id property: ID for the service level objective.

Integer maxBackupRetentionDays()

Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.

Integer maxStorageMB()

Get the maxStorageMB property: Max storage allowed for a server.

Integer minBackupRetentionDays()

Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.

Integer minStorageMB()

Get the minStorageMB property: Max storage allowed for a server.

void validate()

Validates the instance.

Integer vCore()

Get the vCore property: vCore associated with the service level objective.

PerformanceTierServiceLevelObjectives withEdition(String edition)

Set the edition property: Edition of the performance tier.

PerformanceTierServiceLevelObjectives withHardwareGeneration(String hardwareGeneration)

Set the hardwareGeneration property: Hardware generation associated with the service level objective.

PerformanceTierServiceLevelObjectives withId(String id)

Set the id property: ID for the service level objective.

PerformanceTierServiceLevelObjectives withMaxBackupRetentionDays(Integer maxBackupRetentionDays)

Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.

PerformanceTierServiceLevelObjectives withMaxStorageMB(Integer maxStorageMB)

Set the maxStorageMB property: Max storage allowed for a server.

PerformanceTierServiceLevelObjectives withMinBackupRetentionDays(Integer minBackupRetentionDays)

Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.

PerformanceTierServiceLevelObjectives withMinStorageMB(Integer minStorageMB)

Set the minStorageMB property: Max storage allowed for a server.

PerformanceTierServiceLevelObjectives withVCore(Integer vCore)

Set the vCore property: vCore associated with the service level objective.

Methods inherited from java.lang.Object

Constructor Details

PerformanceTierServiceLevelObjectives

public PerformanceTierServiceLevelObjectives()

Method Details

edition

public String edition()

Get the edition property: Edition of the performance tier.

Returns:

the edition value.

hardwareGeneration

public String hardwareGeneration()

Get the hardwareGeneration property: Hardware generation associated with the service level objective.

Returns:

the hardwareGeneration value.

id

public String id()

Get the id property: ID for the service level objective.

Returns:

the id value.

maxBackupRetentionDays

public Integer maxBackupRetentionDays()

Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.

Returns:

the maxBackupRetentionDays value.

maxStorageMB

public Integer maxStorageMB()

Get the maxStorageMB property: Max storage allowed for a server.

Returns:

the maxStorageMB value.

minBackupRetentionDays

public Integer minBackupRetentionDays()

Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.

Returns:

the minBackupRetentionDays value.

minStorageMB

public Integer minStorageMB()

Get the minStorageMB property: Max storage allowed for a server.

Returns:

the minStorageMB value.

validate

public void validate()

Validates the instance.

vCore

public Integer vCore()

Get the vCore property: vCore associated with the service level objective.

Returns:

the vCore 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.

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.

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.

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.

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.

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.

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.

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.

Applies to