FluidRelayServerKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.fluidrelay.fluent.models.FluidRelayServerKeysInner

Implements

public final class FluidRelayServerKeysInner
implements JsonSerializable<FluidRelayServerKeysInner>

The set of available keys for this server.

Constructor Summary

Constructor Description
FluidRelayServerKeysInner()

Creates an instance of FluidRelayServerKeysInner class.

Method Summary

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

Reads an instance of FluidRelayServerKeysInner from the JsonReader.

String key1()

Get the key1 property: The primary key for this server.

String key2()

Get the key2 property: The secondary key for this server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FluidRelayServerKeysInner

public FluidRelayServerKeysInner()

Creates an instance of FluidRelayServerKeysInner class.

Method Details

fromJson

public static FluidRelayServerKeysInner fromJson(JsonReader jsonReader)

Reads an instance of FluidRelayServerKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

key1

public String key1()

Get the key1 property: The primary key for this server.

Returns:

the key1 value.

key2

public String key2()

Get the key2 property: The secondary key for this server.

Returns:

the key2 value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to