Class BackupEngineExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineExtendedInfo
-
public final class BackupEngineExtendedInfo extends Object
Additional information on backup engine.
-
-
Constructor Summary
Constructors Constructor Description BackupEngineExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
availableDiskSpace()
Get the availableDiskSpace property: Disk space currently available in the backup engine.Integer
azureProtectedInstances()
Get the azureProtectedInstances property: Protected instances in the backup engine.String
databaseName()
Get the databaseName property: Database name of backup engine.Integer
diskCount()
Get the diskCount property: Number of disks in the backup engine.Integer
protectedItemsCount()
Get the protectedItemsCount property: Number of protected items in the backup engine.Integer
protectedServersCount()
Get the protectedServersCount property: Number of protected servers in the backup engine.OffsetDateTime
refreshedAt()
Get the refreshedAt property: Last refresh time in the backup engine.Double
usedDiskSpace()
Get the usedDiskSpace property: Disk space used in the backup engine.void
validate()
Validates the instance.BackupEngineExtendedInfo
withAvailableDiskSpace(Double availableDiskSpace)
Set the availableDiskSpace property: Disk space currently available in the backup engine.BackupEngineExtendedInfo
withAzureProtectedInstances(Integer azureProtectedInstances)
Set the azureProtectedInstances property: Protected instances in the backup engine.BackupEngineExtendedInfo
withDatabaseName(String databaseName)
Set the databaseName property: Database name of backup engine.BackupEngineExtendedInfo
withDiskCount(Integer diskCount)
Set the diskCount property: Number of disks in the backup engine.BackupEngineExtendedInfo
withProtectedItemsCount(Integer protectedItemsCount)
Set the protectedItemsCount property: Number of protected items in the backup engine.BackupEngineExtendedInfo
withProtectedServersCount(Integer protectedServersCount)
Set the protectedServersCount property: Number of protected servers in the backup engine.BackupEngineExtendedInfo
withRefreshedAt(OffsetDateTime refreshedAt)
Set the refreshedAt property: Last refresh time in the backup engine.BackupEngineExtendedInfo
withUsedDiskSpace(Double usedDiskSpace)
Set the usedDiskSpace property: Disk space used in the backup engine.
-
-
-
Method Detail
-
databaseName
public String databaseName()
Get the databaseName property: Database name of backup engine.- Returns:
- the databaseName value.
-
withDatabaseName
public BackupEngineExtendedInfo withDatabaseName(String databaseName)
Set the databaseName property: Database name of backup engine.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
protectedItemsCount
public Integer protectedItemsCount()
Get the protectedItemsCount property: Number of protected items in the backup engine.- Returns:
- the protectedItemsCount value.
-
withProtectedItemsCount
public BackupEngineExtendedInfo withProtectedItemsCount(Integer protectedItemsCount)
Set the protectedItemsCount property: Number of protected items in the backup engine.- Parameters:
protectedItemsCount
- the protectedItemsCount value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
protectedServersCount
public Integer protectedServersCount()
Get the protectedServersCount property: Number of protected servers in the backup engine.- Returns:
- the protectedServersCount value.
-
withProtectedServersCount
public BackupEngineExtendedInfo withProtectedServersCount(Integer protectedServersCount)
Set the protectedServersCount property: Number of protected servers in the backup engine.- Parameters:
protectedServersCount
- the protectedServersCount value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
diskCount
public Integer diskCount()
Get the diskCount property: Number of disks in the backup engine.- Returns:
- the diskCount value.
-
withDiskCount
public BackupEngineExtendedInfo withDiskCount(Integer diskCount)
Set the diskCount property: Number of disks in the backup engine.- Parameters:
diskCount
- the diskCount value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
usedDiskSpace
public Double usedDiskSpace()
Get the usedDiskSpace property: Disk space used in the backup engine.- Returns:
- the usedDiskSpace value.
-
withUsedDiskSpace
public BackupEngineExtendedInfo withUsedDiskSpace(Double usedDiskSpace)
Set the usedDiskSpace property: Disk space used in the backup engine.- Parameters:
usedDiskSpace
- the usedDiskSpace value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
availableDiskSpace
public Double availableDiskSpace()
Get the availableDiskSpace property: Disk space currently available in the backup engine.- Returns:
- the availableDiskSpace value.
-
withAvailableDiskSpace
public BackupEngineExtendedInfo withAvailableDiskSpace(Double availableDiskSpace)
Set the availableDiskSpace property: Disk space currently available in the backup engine.- Parameters:
availableDiskSpace
- the availableDiskSpace value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
refreshedAt
public OffsetDateTime refreshedAt()
Get the refreshedAt property: Last refresh time in the backup engine.- Returns:
- the refreshedAt value.
-
withRefreshedAt
public BackupEngineExtendedInfo withRefreshedAt(OffsetDateTime refreshedAt)
Set the refreshedAt property: Last refresh time in the backup engine.- Parameters:
refreshedAt
- the refreshedAt value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
azureProtectedInstances
public Integer azureProtectedInstances()
Get the azureProtectedInstances property: Protected instances in the backup engine.- Returns:
- the azureProtectedInstances value.
-
withAzureProtectedInstances
public BackupEngineExtendedInfo withAzureProtectedInstances(Integer azureProtectedInstances)
Set the azureProtectedInstances property: Protected instances in the backup engine.- Parameters:
azureProtectedInstances
- the azureProtectedInstances value to set.- Returns:
- the BackupEngineExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-