Class TestLineProperties
java.lang.Object
com.azure.resourcemanager.voiceservices.fluent.models.TestLineProperties
Details of the TestLine resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the phoneNumber property: The phone number.Get the provisioningState property: Resource provisioning state.purpose()
Get the purpose property: Purpose of this test line, e.g.void
validate()
Validates the instance.withPhoneNumber
(String phoneNumber) Set the phoneNumber property: The phone number.withPurpose
(TestLinePurpose purpose) Set the purpose property: Purpose of this test line, e.g.
-
Constructor Details
-
TestLineProperties
public TestLineProperties()Creates an instance of TestLineProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
phoneNumber
Get the phoneNumber property: The phone number.- Returns:
- the phoneNumber value.
-
withPhoneNumber
Set the phoneNumber property: The phone number.- Parameters:
phoneNumber
- the phoneNumber value to set.- Returns:
- the TestLineProperties object itself.
-
purpose
Get the purpose property: Purpose of this test line, e.g. automated or manual testing.- Returns:
- the purpose value.
-
withPurpose
Set the purpose property: Purpose of this test line, e.g. automated or manual testing.- Parameters:
purpose
- the purpose value to set.- Returns:
- the TestLineProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-