Class SupportInfo
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.SupportInfo
-
public final class SupportInfo extends Object
Support contact information and instructions.
-
-
Constructor Summary
Constructors Constructor Description SupportInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
email()
Get the email property: Support contact email address.String
instructions()
Get the instructions property: Support instructions.String
phone()
Get the phone property: Support contact phone number.String
url()
Get the url property: Support web address.void
validate()
Validates the instance.SupportInfo
withEmail(String email)
Set the email property: Support contact email address.SupportInfo
withInstructions(String instructions)
Set the instructions property: Support instructions.SupportInfo
withPhone(String phone)
Set the phone property: Support contact phone number.SupportInfo
withUrl(String url)
Set the url property: Support web address.
-
-
-
Method Detail
-
url
public String url()
Get the url property: Support web address.- Returns:
- the url value.
-
withUrl
public SupportInfo withUrl(String url)
Set the url property: Support web address.- Parameters:
url
- the url value to set.- Returns:
- the SupportInfo object itself.
-
email
public String email()
Get the email property: Support contact email address.- Returns:
- the email value.
-
withEmail
public SupportInfo withEmail(String email)
Set the email property: Support contact email address.- Parameters:
email
- the email value to set.- Returns:
- the SupportInfo object itself.
-
phone
public String phone()
Get the phone property: Support contact phone number.- Returns:
- the phone value.
-
withPhone
public SupportInfo withPhone(String phone)
Set the phone property: Support contact phone number.- Parameters:
phone
- the phone value to set.- Returns:
- the SupportInfo object itself.
-
instructions
public String instructions()
Get the instructions property: Support instructions.- Returns:
- the instructions value.
-
withInstructions
public SupportInfo withInstructions(String instructions)
Set the instructions property: Support instructions.- Parameters:
instructions
- the instructions value to set.- Returns:
- the SupportInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-