SyncAgentKeyPropertiesInner Class

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

Implements

public final class SyncAgentKeyPropertiesInner
implements JsonSerializable<SyncAgentKeyPropertiesInner>

Properties of an Azure SQL Database sync agent key.

Constructor Summary

Constructor Description
SyncAgentKeyPropertiesInner()

Creates an instance of SyncAgentKeyPropertiesInner class.

Method Summary

Modifier and Type Method and Description
static SyncAgentKeyPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of SyncAgentKeyPropertiesInner from the JsonReader.

String syncAgentKey()

Get the syncAgentKey property: Key of sync agent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SyncAgentKeyPropertiesInner

public SyncAgentKeyPropertiesInner()

Creates an instance of SyncAgentKeyPropertiesInner class.

Method Details

fromJson

public static SyncAgentKeyPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of SyncAgentKeyPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

syncAgentKey

public String syncAgentKey()

Get the syncAgentKey property: Key of sync agent.

Returns:

the syncAgentKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to