PerformanceTierPropertiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.mysql.fluent.models.PerformanceTierPropertiesInner

public final class PerformanceTierPropertiesInner

Performance tier properties.

Constructor Summary

Constructor Description
PerformanceTierPropertiesInner()

Method Summary

Modifier and Type Method and Description
String id()

Get the id property: ID of the performance tier.

Integer maxBackupRetentionDays()

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

Integer maxLargeStorageMB()

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

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 minLargeStorageMB()

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

Integer minStorageMB()

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

List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives()

Get the serviceLevelObjectives property: Service level objectives associated with the performance tier.

void validate()

Validates the instance.

PerformanceTierPropertiesInner withId(String id)

Set the id property: ID of the performance tier.

PerformanceTierPropertiesInner withMaxBackupRetentionDays(Integer maxBackupRetentionDays)

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

PerformanceTierPropertiesInner withMaxLargeStorageMB(Integer maxLargeStorageMB)

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

PerformanceTierPropertiesInner withMaxStorageMB(Integer maxStorageMB)

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

PerformanceTierPropertiesInner withMinBackupRetentionDays(Integer minBackupRetentionDays)

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

PerformanceTierPropertiesInner withMinLargeStorageMB(Integer minLargeStorageMB)

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

PerformanceTierPropertiesInner withMinStorageMB(Integer minStorageMB)

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

PerformanceTierPropertiesInner withServiceLevelObjectives(List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives)

Set the serviceLevelObjectives property: Service level objectives associated with the performance tier.

Methods inherited from java.lang.Object

Constructor Details

PerformanceTierPropertiesInner

public PerformanceTierPropertiesInner()

Method Details

id

public String id()

Get the id property: ID of the performance tier.

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.

maxLargeStorageMB

public Integer maxLargeStorageMB()

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

Returns:

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

minLargeStorageMB

public Integer minLargeStorageMB()

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

Returns:

the minLargeStorageMB value.

minStorageMB

public Integer minStorageMB()

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

Returns:

the minStorageMB value.

serviceLevelObjectives

public List serviceLevelObjectives()

Get the serviceLevelObjectives property: Service level objectives associated with the performance tier.

Returns:

the serviceLevelObjectives value.

validate

public void validate()

Validates the instance.

withId

public PerformanceTierPropertiesInner withId(String id)

Set the id property: ID of the performance tier.

Parameters:

id - the id value to set.

Returns:

the PerformanceTierPropertiesInner object itself.

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.

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.

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.

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.

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.

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.

withServiceLevelObjectives

public PerformanceTierPropertiesInner withServiceLevelObjectives(List 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.

Applies to

Azure SDK for Java

Latest