BackupItemInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. BackupItemInner
- com.
- com.
- com.
public final class BackupItemInner
extends ProxyOnlyResource
Backup description.
Constructor Summary
Constructor | Description |
---|---|
BackupItemInner() |
Creates an instance of Backup |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
backupId()
Get the backup |
String |
blobName()
Get the blob |
String |
correlationId()
Get the correlation |
Offset |
created()
Get the created property: Timestamp of the backup creation. |
List<Database |
databases()
Get the databases property: List of databases included in the backup. |
Offset |
finishedTimestamp()
Get the finished |
static
Backup |
fromJson(JsonReader jsonReader)
Reads an instance of Backup |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Offset |
lastRestoreTimestamp()
Get the last |
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 size |
Backup |
status()
Get the status property: Backup status. |
String |
storageAccountUrl()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Long |
websiteSizeInBytes()
Get the website |
Backup |
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:
blobName
public String blobName()
Get the blobName property: Name of the blob which contains data for this backup.
Returns:
correlationId
public String correlationId()
Get the correlationId property: Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
Returns:
created
public OffsetDateTime created()
Get the created property: Timestamp of the backup creation.
Returns:
databases
public List
Get the databases property: List of databases included in the backup.
Returns:
finishedTimestamp
public OffsetDateTime finishedTimestamp()
Get the finishedTimestamp property: Timestamp when this backup finished.
Returns:
fromJson
public static BackupItemInner fromJson(JsonReader jsonReader)
Reads an instance of BackupItemInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BackupItemInner.id()Returns:
lastRestoreTimestamp
public OffsetDateTime lastRestoreTimestamp()
Get the lastRestoreTimestamp property: Timestamp of a last restore operation which used this backup.
Returns:
log
public String log()
Get the log property: Details regarding this backup. Might contain an error message.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BackupItemInner.name()Returns:
namePropertiesName
public String namePropertiesName()
Get the name property: Name of this backup.
Returns:
scheduled
public Boolean scheduled()
Get the scheduled property: True if this backup has been created due to a schedule being triggered.
Returns:
sizeInBytes
public Long sizeInBytes()
Get the sizeInBytes property: Size of the backup in bytes.
Returns:
status
public BackupItemStatus status()
Get the status property: Backup status.
Returns:
storageAccountUrl
public String storageAccountUrl()
Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BackupItemInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BackupItemInner.type()Returns:
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:
withKind
public BackupItemInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
BackupItemInner.withKind(String kind)Parameters:
Applies to
Azure SDK for Java