RestorableDroppedManagedDatabaseInner Class

public final class RestorableDroppedManagedDatabaseInner
extends Resource

A restorable dropped managed database resource.

Constructor Summary

Constructor Description
RestorableDroppedManagedDatabaseInner()

Creates an instance of RestorableDroppedManagedDatabaseInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

String databaseName()

Get the databaseName property: The name of the database.

OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

static RestorableDroppedManagedDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedManagedDatabaseInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RestorableDroppedManagedDatabaseInner withLocation(String location)
RestorableDroppedManagedDatabaseInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RestorableDroppedManagedDatabaseInner

public RestorableDroppedManagedDatabaseInner()

Creates an instance of RestorableDroppedManagedDatabaseInner class.

Method Details

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

Returns:

the creationDate value.

databaseName

public String databaseName()

Get the databaseName property: The name of the database.

Returns:

the databaseName value.

deletionDate

public OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

Returns:

the deletionDate value.

earliestRestoreDate

public OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

Returns:

the earliestRestoreDate value.

fromJson

public static RestorableDroppedManagedDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedManagedDatabaseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RestorableDroppedManagedDatabaseInner 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:

RestorableDroppedManagedDatabaseInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RestorableDroppedManagedDatabaseInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RestorableDroppedManagedDatabaseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RestorableDroppedManagedDatabaseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public RestorableDroppedManagedDatabaseInner withLocation(String location)

Overrides:

RestorableDroppedManagedDatabaseInner.withLocation(String location)

Parameters:

location

withTags

public RestorableDroppedManagedDatabaseInner withTags(Map tags)

Overrides:

RestorableDroppedManagedDatabaseInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to