ConnectionResetSharedKeyInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner

Implements

public final class ConnectionResetSharedKeyInner
implements JsonSerializable<ConnectionResetSharedKeyInner>

The virtual network connection reset shared key.

Constructor Summary

Constructor Description
ConnectionResetSharedKeyInner()

Creates an instance of ConnectionResetSharedKeyInner class.

Method Summary

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

Reads an instance of ConnectionResetSharedKeyInner from the JsonReader.

int keyLength()

Get the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionResetSharedKeyInner withKeyLength(int keyLength)

Set the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.

Methods inherited from java.lang.Object

Constructor Details

ConnectionResetSharedKeyInner

public ConnectionResetSharedKeyInner()

Creates an instance of ConnectionResetSharedKeyInner class.

Method Details

fromJson

public static ConnectionResetSharedKeyInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionResetSharedKeyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keyLength

public int keyLength()

Get the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.

Returns:

the keyLength value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKeyLength

public ConnectionResetSharedKeyInner withKeyLength(int keyLength)

Set the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.

Parameters:

keyLength - the keyLength value to set.

Returns:

the ConnectionResetSharedKeyInner object itself.

Applies to