BackupItemInner Class

public final class BackupItemInner
extends ProxyOnlyResource

Backup description.

Constructor Summary

Constructor Description
BackupItemInner()

Creates an instance of BackupItemInner class.

Method Summary

Modifier and Type Method and Description
Integer backupId()

Get the backupId property: Id of the backup.

String blobName()

Get the blobName property: Name of the blob which contains data for this backup.

String correlationId()

Get the correlationId property: Unique correlation identifier.

OffsetDateTime created()

Get the created property: Timestamp of the backup creation.

List<DatabaseBackupSetting> databases()

Get the databases property: List of databases included in the backup.

OffsetDateTime finishedTimestamp()

Get the finishedTimestamp property: Timestamp when this backup finished.

static BackupItemInner fromJson(JsonReader jsonReader)

Reads an instance of BackupItemInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

OffsetDateTime lastRestoreTimestamp()

Get the lastRestoreTimestamp property: Timestamp of a last restore operation which used this backup.

String log()

Get the log property: Details regarding this backup.

String name()

Get the name property: The name of the resource.

String namePropertiesName()

Get the name property: Name of this backup.

Boolean scheduled()

Get the scheduled property: True if this backup has been created due to a schedule being triggered.

Long sizeInBytes()

Get the sizeInBytes property: Size of the backup in bytes.

BackupItemStatus status()

Get the status property: Backup status.

String storageAccountUrl()

Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Long websiteSizeInBytes()

Get the websiteSizeInBytes property: Size of the original web app which has been backed up.

BackupItemInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

BackupItemInner

public BackupItemInner()

Creates an instance of BackupItemInner class.

Method Details

backupId

public Integer backupId()

Get the backupId property: Id of the backup.

Returns:

the backupId value.

blobName

public String blobName()

Get the blobName property: Name of the blob which contains data for this backup.

Returns:

the blobName value.

correlationId

public String correlationId()

Get the correlationId property: Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.

Returns:

the correlationId value.

created

public OffsetDateTime created()

Get the created property: Timestamp of the backup creation.

Returns:

the created value.

databases

public List databases()

Get the databases property: List of databases included in the backup.

Returns:

the databases value.

finishedTimestamp

public OffsetDateTime finishedTimestamp()

Get the finishedTimestamp property: Timestamp when this backup finished.

Returns:

the finishedTimestamp value.

fromJson

public static BackupItemInner fromJson(JsonReader jsonReader)

Reads an instance of BackupItemInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BackupItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BackupItemInner.id()

Returns:

the id value.

lastRestoreTimestamp

public OffsetDateTime lastRestoreTimestamp()

Get the lastRestoreTimestamp property: Timestamp of a last restore operation which used this backup.

Returns:

the lastRestoreTimestamp value.

log

public String log()

Get the log property: Details regarding this backup. Might contain an error message.

Returns:

the log value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BackupItemInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: Name of this backup.

Returns:

the name value.

scheduled

public Boolean scheduled()

Get the scheduled property: True if this backup has been created due to a schedule being triggered.

Returns:

the scheduled value.

sizeInBytes

public Long sizeInBytes()

Get the sizeInBytes property: Size of the backup in bytes.

Returns:

the sizeInBytes value.

status

public BackupItemStatus status()

Get the status property: Backup status.

Returns:

the status value.

storageAccountUrl

public String storageAccountUrl()

Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.

Returns:

the storageAccountUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BackupItemInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BackupItemInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

BackupItemInner.validate()

websiteSizeInBytes

public Long websiteSizeInBytes()

Get the websiteSizeInBytes property: Size of the original web app which has been backed up.

Returns:

the websiteSizeInBytes value.

withKind

public BackupItemInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

BackupItemInner.withKind(String kind)

Parameters:

kind

Applies to