Class VerificationParameter
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.VerificationParameter
-
public final class VerificationParameter extends Object
Input parameter for verification APIs.
-
-
Constructor Summary
Constructors Constructor Description VerificationParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.VerificationType
verificationType()
Get the verificationType property: Type of verification.VerificationParameter
withVerificationType(VerificationType verificationType)
Set the verificationType property: Type of verification.
-
-
-
Method Detail
-
verificationType
public VerificationType verificationType()
Get the verificationType property: Type of verification.- Returns:
- the verificationType value.
-
withVerificationType
public VerificationParameter withVerificationType(VerificationType verificationType)
Set the verificationType property: Type of verification.- Parameters:
verificationType
- the verificationType value to set.- Returns:
- the VerificationParameter object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-