Class TestLineInner
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 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.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withLocation
(String location) withPhoneNumber
(String phoneNumber) Set the phoneNumber property: The phone number.withPurpose
(TestLinePurpose purpose) Set the purpose property: Purpose of this test line, e.g.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 TestLineInner 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 TestLineInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-