PerformanceTierPropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. fluent. models. PerformanceTierPropertiesInner
- com.
Implements
public final class PerformanceTierPropertiesInner
implements JsonSerializable<PerformanceTierPropertiesInner>
Performance tier properties.
Constructor Summary
| Constructor | Description |
|---|---|
| PerformanceTierPropertiesInner() |
Creates an instance of Performance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Performance |
fromJson(JsonReader jsonReader)
Reads an instance of Performance |
| String |
id()
Get the id property: ID of the performance tier. |
| Integer |
maxBackupRetentionDays()
Get the max |
| Integer |
maxLargeStorageMB()
Get the max |
| Integer |
maxStorageMB()
Get the max |
| Integer |
minBackupRetentionDays()
Get the min |
| Integer |
minLargeStorageMB()
Get the min |
| Integer |
minStorageMB()
Get the min |
|
List<Performance |
serviceLevelObjectives()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Performance |
withId(String id)
Set the id property: ID of the performance tier. |
|
Performance |
withMaxBackupRetentionDays(Integer maxBackupRetentionDays)
Set the max |
|
Performance |
withMaxLargeStorageMB(Integer maxLargeStorageMB)
Set the max |
|
Performance |
withMaxStorageMB(Integer maxStorageMB)
Set the max |
|
Performance |
withMinBackupRetentionDays(Integer minBackupRetentionDays)
Set the min |
|
Performance |
withMinLargeStorageMB(Integer minLargeStorageMB)
Set the min |
|
Performance |
withMinStorageMB(Integer minStorageMB)
Set the min |
|
Performance |
withServiceLevelObjectives(List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives)
Set the service |
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:
Returns:
Throws:
id
public String id()
Get the id property: ID of the performance tier.
Returns:
maxBackupRetentionDays
public Integer maxBackupRetentionDays()
Get the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
Returns:
maxLargeStorageMB
public Integer maxLargeStorageMB()
Get the maxLargeStorageMB property: Max storage allowed for a server.
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:
minLargeStorageMB
public Integer minLargeStorageMB()
Get the minLargeStorageMB property: Max storage allowed for a server.
Returns:
minStorageMB
public Integer minStorageMB()
Get the minStorageMB property: Max storage allowed for a server.
Returns:
serviceLevelObjectives
public List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives()
Get the serviceLevelObjectives property: Service level objectives associated with the performance tier.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public PerformanceTierPropertiesInner withId(String id)
Set the id property: ID of the performance tier.
Parameters:
Returns:
withMaxBackupRetentionDays
public PerformanceTierPropertiesInner withMaxBackupRetentionDays(Integer maxBackupRetentionDays)
Set the maxBackupRetentionDays property: Maximum Backup retention in days for the performance tier edition.
Parameters:
Returns:
withMaxLargeStorageMB
public PerformanceTierPropertiesInner withMaxLargeStorageMB(Integer maxLargeStorageMB)
Set the maxLargeStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withMaxStorageMB
public PerformanceTierPropertiesInner withMaxStorageMB(Integer maxStorageMB)
Set the maxStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withMinBackupRetentionDays
public PerformanceTierPropertiesInner withMinBackupRetentionDays(Integer minBackupRetentionDays)
Set the minBackupRetentionDays property: Minimum Backup retention in days for the performance tier edition.
Parameters:
Returns:
withMinLargeStorageMB
public PerformanceTierPropertiesInner withMinLargeStorageMB(Integer minLargeStorageMB)
Set the minLargeStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withMinStorageMB
public PerformanceTierPropertiesInner withMinStorageMB(Integer minStorageMB)
Set the minStorageMB property: Max storage allowed for a server.
Parameters:
Returns:
withServiceLevelObjectives
public PerformanceTierPropertiesInner withServiceLevelObjectives(List<PerformanceTierServiceLevelObjectives> serviceLevelObjectives)
Set the serviceLevelObjectives property: Service level objectives associated with the performance tier.
Parameters:
Returns: