Partager via


ManagedDatabaseRestoreDetailsBackupSetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedDatabaseRestoreDetailsBackupSetProperties

Implements

public final class ManagedDatabaseRestoreDetailsBackupSetProperties
implements JsonSerializable<ManagedDatabaseRestoreDetailsBackupSetProperties>

The managed database's restore details backup set properties.

Constructor Summary

Constructor Description
ManagedDatabaseRestoreDetailsBackupSetProperties()

Creates an instance of ManagedDatabaseRestoreDetailsBackupSetProperties class.

Method Summary

Modifier and Type Method and Description
Integer backupSizeMB()

Get the backupSizeMB property: Backup size.

String firstStripeName()

Get the firstStripeName property: First stripe name.

static ManagedDatabaseRestoreDetailsBackupSetProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseRestoreDetailsBackupSetProperties from the JsonReader.

Integer numberOfStripes()

Get the numberOfStripes property: Number of stripes.

OffsetDateTime restoreFinishedTimestampUtc()

Get the restoreFinishedTimestampUtc property: Last restored file time.

OffsetDateTime restoreStartedTimestampUtc()

Get the restoreStartedTimestampUtc property: Last restored file time.

String status()

Get the status property: Backup set status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ManagedDatabaseRestoreDetailsBackupSetProperties

public ManagedDatabaseRestoreDetailsBackupSetProperties()

Creates an instance of ManagedDatabaseRestoreDetailsBackupSetProperties class.

Method Details

backupSizeMB

public Integer backupSizeMB()

Get the backupSizeMB property: Backup size.

Returns:

the backupSizeMB value.

firstStripeName

public String firstStripeName()

Get the firstStripeName property: First stripe name.

Returns:

the firstStripeName value.

fromJson

public static ManagedDatabaseRestoreDetailsBackupSetProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseRestoreDetailsBackupSetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedDatabaseRestoreDetailsBackupSetProperties 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 ManagedDatabaseRestoreDetailsBackupSetProperties.

numberOfStripes

public Integer numberOfStripes()

Get the numberOfStripes property: Number of stripes.

Returns:

the numberOfStripes value.

restoreFinishedTimestampUtc

public OffsetDateTime restoreFinishedTimestampUtc()

Get the restoreFinishedTimestampUtc property: Last restored file time.

Returns:

the restoreFinishedTimestampUtc value.

restoreStartedTimestampUtc

public OffsetDateTime restoreStartedTimestampUtc()

Get the restoreStartedTimestampUtc property: Last restored file time.

Returns:

the restoreStartedTimestampUtc value.

status

public String status()

Get the status property: Backup set status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to