Partager via


HybridConnectionKeyInner Class

public final class HybridConnectionKeyInner
extends ProxyOnlyResource

Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.

Constructor Summary

Constructor Description
HybridConnectionKeyInner()

Creates an instance of HybridConnectionKeyInner class.

Method Summary

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

Reads an instance of HybridConnectionKeyInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

String sendKeyName()

Get the sendKeyName property: The name of the send key.

String sendKeyValue()

Get the sendKeyValue property: The value of the send key.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

HybridConnectionKeyInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

HybridConnectionKeyInner

public HybridConnectionKeyInner()

Creates an instance of HybridConnectionKeyInner class.

Method Details

fromJson

public static HybridConnectionKeyInner fromJson(JsonReader jsonReader)

Reads an instance of HybridConnectionKeyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

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

Overrides:

HybridConnectionKeyInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

HybridConnectionKeyInner.name()

Returns:

the name value.

sendKeyName

public String sendKeyName()

Get the sendKeyName property: The name of the send key.

Returns:

the sendKeyName value.

sendKeyValue

public String sendKeyValue()

Get the sendKeyValue property: The value of the send key.

Returns:

the sendKeyValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HybridConnectionKeyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

HybridConnectionKeyInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

HybridConnectionKeyInner.validate()

withKind

public HybridConnectionKeyInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

HybridConnectionKeyInner.withKind(String kind)

Parameters:

kind

Applies to