PerformanceTierPropertiesInner Class

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

Implements

public final class PerformanceTierPropertiesInner
implements JsonSerializable<PerformanceTierPropertiesInner>

Performance tier properties.

Constructor Summary

Constructor Description
PerformanceTierPropertiesInner()

Creates an instance of PerformanceTierPropertiesInner class.

Method Summary

Modifier and Type Method and Description
static PerformanceTierPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of PerformanceTierPropertiesInner from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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()

Creates an instance of PerformanceTierPropertiesInner class.

Method Details

fromJson

public static PerformanceTierPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of PerformanceTierPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PerformanceTierPropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PerformanceTierPropertiesInner.

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<PerformanceTierServiceLevelObjectives> serviceLevelObjectives()

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

Returns:

the serviceLevelObjectives value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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<PerformanceTierServiceLevelObjectives> 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