Class ContactDetails
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.ContactDetails
-
public final class ContactDetails extends Object
Contact Details.
-
-
Constructor Summary
Constructors Constructor Description ContactDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
contactName()
Get the contactName property: Contact name of the person.List<String>
emailList()
Get the emailList property: List of Email-ids to be notified about job progress.String
mobile()
Get the mobile property: Mobile number of the contact person.String
phone()
Get the phone property: Phone number of the contact person.String
phoneExtension()
Get the phoneExtension property: Phone extension number of the contact person.void
validate()
Validates the instance.ContactDetails
withContactName(String contactName)
Set the contactName property: Contact name of the person.ContactDetails
withEmailList(List<String> emailList)
Set the emailList property: List of Email-ids to be notified about job progress.ContactDetails
withMobile(String mobile)
Set the mobile property: Mobile number of the contact person.ContactDetails
withPhone(String phone)
Set the phone property: Phone number of the contact person.ContactDetails
withPhoneExtension(String phoneExtension)
Set the phoneExtension property: Phone extension number of the contact person.
-
-
-
Method Detail
-
contactName
public String contactName()
Get the contactName property: Contact name of the person.- Returns:
- the contactName value.
-
withContactName
public ContactDetails withContactName(String contactName)
Set the contactName property: Contact name of the person.- Parameters:
contactName
- the contactName value to set.- Returns:
- the ContactDetails object itself.
-
phone
public String phone()
Get the phone property: Phone number of the contact person.- Returns:
- the phone value.
-
withPhone
public ContactDetails withPhone(String phone)
Set the phone property: Phone number of the contact person.- Parameters:
phone
- the phone value to set.- Returns:
- the ContactDetails object itself.
-
phoneExtension
public String phoneExtension()
Get the phoneExtension property: Phone extension number of the contact person.- Returns:
- the phoneExtension value.
-
withPhoneExtension
public ContactDetails withPhoneExtension(String phoneExtension)
Set the phoneExtension property: Phone extension number of the contact person.- Parameters:
phoneExtension
- the phoneExtension value to set.- Returns:
- the ContactDetails object itself.
-
mobile
public String mobile()
Get the mobile property: Mobile number of the contact person.- Returns:
- the mobile value.
-
withMobile
public ContactDetails withMobile(String mobile)
Set the mobile property: Mobile number of the contact person.- Parameters:
mobile
- the mobile value to set.- Returns:
- the ContactDetails object itself.
-
emailList
public List<String> emailList()
Get the emailList property: List of Email-ids to be notified about job progress.- Returns:
- the emailList value.
-
withEmailList
public ContactDetails withEmailList(List<String> emailList)
Set the emailList property: List of Email-ids to be notified about job progress.- Parameters:
emailList
- the emailList value to set.- Returns:
- the ContactDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-