Class ConnectionResetSharedKeyInner

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

public final class ConnectionResetSharedKeyInner extends Object
The virtual network connection reset shared key.
  • 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

      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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.