RecoverableServerResourceInner Class

public final class RecoverableServerResourceInner
extends ProxyResource

A recoverable server resource.

Constructor Summary

Constructor Description
RecoverableServerResourceInner()

Creates an instance of RecoverableServerResourceInner class.

Method Summary

Modifier and Type Method and Description
String edition()

Get the edition property: Edition of the performance tier.

static RecoverableServerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableServerResourceInner from the JsonReader.

String hardwareGeneration()

Get the hardwareGeneration property: Hardware generation associated with the service level objective.

String id()

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

String lastAvailableBackupDateTime()

Get the lastAvailableBackupDateTime property: The last available backup date time.

String name()

Get the name property: The name of the resource.

String serviceLevelObjective()

Get the serviceLevelObjective property: The service level objective.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Integer vCore()

Get the vCore property: vCore associated with the service level objective.

String version()

Get the version property: The PostgreSQL version.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

RecoverableServerResourceInner

public RecoverableServerResourceInner()

Creates an instance of RecoverableServerResourceInner class.

Method Details

edition

public String edition()

Get the edition property: Edition of the performance tier.

Returns:

the edition value.

fromJson

public static RecoverableServerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableServerResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hardwareGeneration

public String hardwareGeneration()

Get the hardwareGeneration property: Hardware generation associated with the service level objective.

Returns:

the hardwareGeneration value.

id

public String id()

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

Overrides:

RecoverableServerResourceInner.id()

Returns:

the id value.

lastAvailableBackupDateTime

public String lastAvailableBackupDateTime()

Get the lastAvailableBackupDateTime property: The last available backup date time.

Returns:

the lastAvailableBackupDateTime value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RecoverableServerResourceInner.name()

Returns:

the name value.

serviceLevelObjective

public String serviceLevelObjective()

Get the serviceLevelObjective property: The service level objective.

Returns:

the serviceLevelObjective value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RecoverableServerResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RecoverableServerResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vCore

public Integer vCore()

Get the vCore property: vCore associated with the service level objective.

Returns:

the vCore value.

version

public String version()

Get the version property: The PostgreSQL version.

Returns:

the version value.

Applies to