Del via


DeletedServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.DeletedServerProperties

Implements

public final class DeletedServerProperties
implements JsonSerializable<DeletedServerProperties>

The properties of a deleted server.

Constructor Summary

Constructor Description
DeletedServerProperties()

Creates an instance of DeletedServerProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime deletionTime()

Get the deletionTime property: The deletion time of the deleted server.

static DeletedServerProperties fromJson(JsonReader jsonReader)

Reads an instance of DeletedServerProperties from the JsonReader.

String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.

String originalId()

Get the originalId property: The original ID of the server before deletion.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The version of the deleted server.

Methods inherited from java.lang.Object

Constructor Details

DeletedServerProperties

public DeletedServerProperties()

Creates an instance of DeletedServerProperties class.

Method Details

deletionTime

public OffsetDateTime deletionTime()

Get the deletionTime property: The deletion time of the deleted server.

Returns:

the deletionTime value.

fromJson

public static DeletedServerProperties fromJson(JsonReader jsonReader)

Reads an instance of DeletedServerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DeletedServerProperties.

fullyQualifiedDomainName

public String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.

Returns:

the fullyQualifiedDomainName value.

originalId

public String originalId()

Get the originalId property: The original ID of the server before deletion.

Returns:

the originalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of the deleted server.

Returns:

the version value.

Applies to