SupportInfo Class
- java.
lang. Object - com.
azure. resourcemanager. labservices. models. SupportInfo
- com.
Implements
public final class SupportInfo
implements JsonSerializable<SupportInfo>
Support contact information and instructions.
Constructor Summary
| Constructor | Description |
|---|---|
| SupportInfo() |
Creates an instance of Support |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
email()
Get the email property: Support contact email address. |
|
static
Support |
fromJson(JsonReader jsonReader)
Reads an instance of Support |
| String |
instructions()
Get the instructions property: Support instructions. |
| String |
phone()
Get the phone property: Support contact phone number. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
url()
Get the url property: Support web address. |
| void |
validate()
Validates the instance. |
|
Support |
withEmail(String email)
Set the email property: Support contact email address. |
|
Support |
withInstructions(String instructions)
Set the instructions property: Support instructions. |
|
Support |
withPhone(String phone)
Set the phone property: Support contact phone number. |
|
Support |
withUrl(String url)
Set the url property: Support web address. |
Methods inherited from java.lang.Object
Constructor Details
SupportInfo
public SupportInfo()
Creates an instance of SupportInfo class.
Method Details
public String email()
Get the email property: Support contact email address.
Returns:
fromJson
public static SupportInfo fromJson(JsonReader jsonReader)
Reads an instance of SupportInfo from the JsonReader.
Parameters:
Returns:
Throws:
instructions
public String instructions()
Get the instructions property: Support instructions.
Returns:
phone
public String phone()
Get the phone property: Support contact phone number.
Returns:
toJson
url
public String url()
Get the url property: Support web address.
Returns:
validate
public void validate()
Validates the instance.
withEmail
public SupportInfo withEmail(String email)
Set the email property: Support contact email address.
Parameters:
Returns:
withInstructions
public SupportInfo withInstructions(String instructions)
Set the instructions property: Support instructions.
Parameters:
Returns:
withPhone
public SupportInfo withPhone(String phone)
Set the phone property: Support contact phone number.
Parameters:
Returns:
withUrl
public SupportInfo withUrl(String url)
Set the url property: Support web address.
Parameters:
Returns: