Class ConnectionResetSharedKeyInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner
The virtual network connection reset shared key.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectionResetSharedKeyInner class. -
Method Summary
Modifier and TypeMethodDescriptionintGet the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.voidvalidate()Validates the instance.withKeyLength(int keyLength) Set the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.
-
Constructor Details
-
ConnectionResetSharedKeyInner
public ConnectionResetSharedKeyInner()Creates an instance of ConnectionResetSharedKeyInner class.
-
-
Method Details
-
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.
-
withKeyLength
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-