Class TestLineProperties

java.lang.Object
com.azure.resourcemanager.voiceservices.fluent.models.TestLineProperties

public final class TestLineProperties extends Object
Details of the TestLine resource.
  • Constructor Details

    • TestLineProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Resource provisioning state.
      Returns:
      the provisioningState value.
    • phoneNumber

      public String phoneNumber()
      Get the phoneNumber property: The phone number.
      Returns:
      the phoneNumber value.
    • withPhoneNumber

      public TestLineProperties withPhoneNumber(String phoneNumber)
      Set the phoneNumber property: The phone number.
      Parameters:
      phoneNumber - the phoneNumber value to set.
      Returns:
      the TestLineProperties object itself.
    • purpose

      public TestLinePurpose purpose()
      Get the purpose property: Purpose of this test line, e.g. automated or manual testing.
      Returns:
      the purpose value.
    • withPurpose

      public TestLineProperties withPurpose(TestLinePurpose purpose)
      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.