StorageProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.mariadb.models.StorageProfile

public final class StorageProfile

Storage Profile properties of a server.

Constructor Summary

Constructor Description
StorageProfile()

Creates an instance of StorageProfile class.

Method Summary

Modifier and Type Method and Description
Integer backupRetentionDays()

Get the backupRetentionDays property: Backup retention days for the server.

GeoRedundantBackup geoRedundantBackup()

Get the geoRedundantBackup property: Enable Geo-redundant or not for server backup.

StorageAutogrow storageAutogrow()

Get the storageAutogrow property: Enable Storage Auto Grow.

Integer storageMB()

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

void validate()

Validates the instance.

StorageProfile withBackupRetentionDays(Integer backupRetentionDays)

Set the backupRetentionDays property: Backup retention days for the server.

StorageProfile withGeoRedundantBackup(GeoRedundantBackup geoRedundantBackup)

Set the geoRedundantBackup property: Enable Geo-redundant or not for server backup.

StorageProfile withStorageAutogrow(StorageAutogrow storageAutogrow)

Set the storageAutogrow property: Enable Storage Auto Grow.

StorageProfile withStorageMB(Integer storageMB)

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

Methods inherited from java.lang.Object

Constructor Details

StorageProfile

public StorageProfile()

Creates an instance of StorageProfile class.

Method Details

backupRetentionDays

public Integer backupRetentionDays()

Get the backupRetentionDays property: Backup retention days for the server.

Returns:

the backupRetentionDays value.

geoRedundantBackup

public GeoRedundantBackup geoRedundantBackup()

Get the geoRedundantBackup property: Enable Geo-redundant or not for server backup.

Returns:

the geoRedundantBackup value.

storageAutogrow

public StorageAutogrow storageAutogrow()

Get the storageAutogrow property: Enable Storage Auto Grow.

Returns:

the storageAutogrow value.

storageMB

public Integer storageMB()

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

Returns:

the storageMB value.

validate

public void validate()

Validates the instance.

withBackupRetentionDays

public StorageProfile withBackupRetentionDays(Integer backupRetentionDays)

Set the backupRetentionDays property: Backup retention days for the server.

Parameters:

backupRetentionDays - the backupRetentionDays value to set.

Returns:

the StorageProfile object itself.

withGeoRedundantBackup

public StorageProfile withGeoRedundantBackup(GeoRedundantBackup geoRedundantBackup)

Set the geoRedundantBackup property: Enable Geo-redundant or not for server backup.

Parameters:

geoRedundantBackup - the geoRedundantBackup value to set.

Returns:

the StorageProfile object itself.

withStorageAutogrow

public StorageProfile withStorageAutogrow(StorageAutogrow storageAutogrow)

Set the storageAutogrow property: Enable Storage Auto Grow.

Parameters:

storageAutogrow - the storageAutogrow value to set.

Returns:

the StorageProfile object itself.

withStorageMB

public StorageProfile withStorageMB(Integer storageMB)

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

Parameters:

storageMB - the storageMB value to set.

Returns:

the StorageProfile object itself.

Applies to