java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.voiceservices.fluent.models.TestLineInner

public final class TestLineInner extends com.azure.core.management.Resource
A TestLine resource.
  • Constructor Details

    • TestLineInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public TestLineInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public TestLineInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 TestLineInner withPhoneNumber(String phoneNumber)
      Set the phoneNumber property: The phone number.
      Parameters:
      phoneNumber - the phoneNumber value to set.
      Returns:
      the TestLineInner 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 TestLineInner 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 TestLineInner object itself.
    • validate

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