Class RegenerateTestKeyRequestPayload

java.lang.Object
com.azure.resourcemanager.appplatform.models.RegenerateTestKeyRequestPayload

public final class RegenerateTestKeyRequestPayload extends Object
Regenerate test key request payload.
  • Constructor Details

    • RegenerateTestKeyRequestPayload

      public RegenerateTestKeyRequestPayload()
      Creates an instance of RegenerateTestKeyRequestPayload class.
  • Method Details

    • keyType

      public TestKeyType keyType()
      Get the keyType property: Type of the test key.
      Returns:
      the keyType value.
    • withKeyType

      public RegenerateTestKeyRequestPayload withKeyType(TestKeyType keyType)
      Set the keyType property: Type of the test key.
      Parameters:
      keyType - the keyType value to set.
      Returns:
      the RegenerateTestKeyRequestPayload object itself.
    • validate

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