ConnectionSharedKeyInner Class

public final class ConnectionSharedKeyInner
extends SubResource

Response for GetConnectionSharedKey API service call.

Constructor Summary

Constructor Description
ConnectionSharedKeyInner()

Creates an instance of ConnectionSharedKeyInner class.

Method Summary

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

Reads an instance of ConnectionSharedKeyInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The virtual network connection shared key value.

ConnectionSharedKeyInner withId(String id)
ConnectionSharedKeyInner withValue(String value)

Set the value property: The virtual network connection shared key value.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ConnectionSharedKeyInner

public ConnectionSharedKeyInner()

Creates an instance of ConnectionSharedKeyInner class.

Method Details

fromJson

public static ConnectionSharedKeyInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionSharedKeyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConnectionSharedKeyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The virtual network connection shared key value.

Returns:

the value value.

withId

public ConnectionSharedKeyInner withId(String id)

Overrides:

ConnectionSharedKeyInner.withId(String id)

Parameters:

id

withValue

public ConnectionSharedKeyInner withValue(String value)

Set the value property: The virtual network connection shared key value.

Parameters:

value - the value value to set.

Returns:

the ConnectionSharedKeyInner object itself.

Applies to