RestorableDroppedManagedDatabaseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. sql. fluent. models. RestorableDroppedManagedDatabaseInner
- com.
- com.
- com.
public final class RestorableDroppedManagedDatabaseInner
extends Resource
A restorable dropped managed database resource.
Constructor Summary
Constructor | Description |
---|---|
RestorableDroppedManagedDatabaseInner() |
Creates an instance of Restorable |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationDate()
Get the creation |
String |
databaseName()
Get the database |
Offset |
deletionDate()
Get the deletion |
Offset |
earliestRestoreDate()
Get the earliest |
static
Restorable |
fromJson(JsonReader jsonReader)
Reads an instance of Restorable |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Restorable |
withLocation(String location) |
Restorable |
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:
databaseName
public String databaseName()
Get the databaseName property: The name of the database.
Returns:
deletionDate
public OffsetDateTime deletionDate()
Get the deletionDate property: The deletion date of the database (ISO8601 format).
Returns:
earliestRestoreDate
public OffsetDateTime earliestRestoreDate()
Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).
Returns:
fromJson
public static RestorableDroppedManagedDatabaseInner fromJson(JsonReader jsonReader)
Reads an instance of RestorableDroppedManagedDatabaseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RestorableDroppedManagedDatabaseInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RestorableDroppedManagedDatabaseInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RestorableDroppedManagedDatabaseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RestorableDroppedManagedDatabaseInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public RestorableDroppedManagedDatabaseInner withLocation(String location)
Overrides:
RestorableDroppedManagedDatabaseInner.withLocation(String location)Parameters:
withTags
public RestorableDroppedManagedDatabaseInner withTags(Map
Overrides:
RestorableDroppedManagedDatabaseInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java