PerformanceTierServiceLevelObjectives Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. models. PerformanceTierServiceLevelObjectives
- com.
Implements
public final class PerformanceTierServiceLevelObjectives
implements JsonSerializable<PerformanceTierServiceLevelObjectives>
Service level objectives for performance tier.
Constructor Summary
| Constructor | Description |
|---|---|
| PerformanceTierServiceLevelObjectives() |
Creates an instance of Performance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
edition()
Get the edition property: Edition of the performance tier. |
|
static
Performance |
fromJson(JsonReader jsonReader)
Reads an instance of Performance |
| String |
hardwareGeneration()
Get the hardware |
| String |
id()
Get the id property: ID for the service level objective. |
| Integer |
maxBackupRetentionDays()
Get the max |
| Integer |
maxStorageMB()
Get the max |
| Integer |
minBackupRetentionDays()
Get the min |
| Integer |
minStorageMB()
Get the min |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Integer |
vCore()
Get the v |
|
Performance |
withEdition(String edition)
Set the edition property: Edition of the performance tier. |
|
Performance |
withHardwareGeneration(String hardwareGeneration)
Set the hardware |
|
Performance |
withId(String id)
Set the id property: ID for the service level objective. |
|
Performance |
withMaxBackupRetentionDays(Integer maxBackupRetentionDays)
Set the max |
|
Performance |
withMaxStorageMB(Integer maxStorageMB)
Set the max |
|
Performance |
withMinBackupRetentionDays(Integer minBackupRetentionDays)
Set the min |
|
Performance |
withMinStorageMB(Integer minStorageMB)
Set the min |
|
Performance |
withVCore(Integer vCore)
Set the v |
Methods inherited from java.lang.Object
Constructor Details
PerformanceTierServiceLevelObjectives
public PerformanceTierServiceLevelObjectives()
Creates an instance of PerformanceTierServiceLevelObjectives class.
Method Details
edition
public String edition()
Get the edition property: Edition of the performance tier.
Returns:
fromJson
public static PerformanceTierServiceLevelObjectives fromJson(JsonReader jsonReader)
Reads an instance of PerformanceTierServiceLevelObjectives from the JsonReader.
Parameters:
Returns:
Throws:
hardwareGeneration
public String hardwareGeneration()
Get the hardwareGeneration property: Hardware generation associated with the service level objective.
Returns:
id
public String id()
Get the id property: ID for the service level objective.
Returns:
maxBackupRetentionDays
public Integer maxBackupRetentionDays()
Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
Returns:
maxStorageMB
public Integer maxStorageMB()
Get the maxStorageMB property: Max storage allowed for a server.
Returns:
minBackupRetentionDays
public Integer minBackupRetentionDays()
Get the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.
Returns:
minStorageMB
public Integer minStorageMB()
Get the minStorageMB property: Max storage allowed for a server.
Returns:
toJson
validate
public void validate()
Validates the instance.
vCore
public Integer vCore()
Get the vCore property: vCore associated with the service level objective.
Returns:
withEdition
public PerformanceTierServiceLevelObjectives withEdition(String edition)
Set the edition property: Edition of the performance tier.
Parameters:
Returns:
withHardwareGeneration
public PerformanceTierServiceLevelObjectives withHardwareGeneration(String hardwareGeneration)
Set the hardwareGeneration property: Hardware generation associated with the service level objective.
Parameters:
Returns:
withId
public PerformanceTierServiceLevelObjectives withId(String id)
Set the id property: ID for the service level objective.
Parameters:
Returns:
withMaxBackupRetentionDays
public PerformanceTierServiceLevelObjectives withMaxBackupRetentionDays(Integer maxBackupRetentionDays)
Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
Parameters:
Returns:
withMaxStorageMB
public PerformanceTierServiceLevelObjectives withMaxStorageMB(Integer maxStorageMB)
Set the maxStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withMinBackupRetentionDays
public PerformanceTierServiceLevelObjectives withMinBackupRetentionDays(Integer minBackupRetentionDays)
Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.
Parameters:
Returns:
withMinStorageMB
public PerformanceTierServiceLevelObjectives withMinStorageMB(Integer minStorageMB)
Set the minStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withVCore
public PerformanceTierServiceLevelObjectives withVCore(Integer vCore)
Set the vCore property: vCore associated with the service level objective.
Parameters:
Returns: