Class ContactDetails
java.lang.Object
com.azure.resourcemanager.databox.models.ContactDetails
Contact Details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contactName property: Contact name of the person.Get the emailList property: List of Email-ids to be notified about job progress.mobile()
Get the mobile property: Mobile number of the contact person.Get the notificationPreference property: Notification preference for a job stage.phone()
Get the phone property: Phone number of the contact person.Get the phoneExtension property: Phone extension number of the contact person.void
validate()
Validates the instance.withContactName
(String contactName) Set the contactName property: Contact name of the person.withEmailList
(List<String> emailList) Set the emailList property: List of Email-ids to be notified about job progress.withMobile
(String mobile) Set the mobile property: Mobile number of the contact person.withNotificationPreference
(List<NotificationPreference> notificationPreference) Set the notificationPreference property: Notification preference for a job stage.Set the phone property: Phone number of the contact person.withPhoneExtension
(String phoneExtension) Set the phoneExtension property: Phone extension number of the contact person.
-
Constructor Details
-
ContactDetails
public ContactDetails()Creates an instance of ContactDetails class.
-
-
Method Details
-
contactName
Get the contactName property: Contact name of the person.- Returns:
- the contactName value.
-
withContactName
Set the contactName property: Contact name of the person.- Parameters:
contactName
- the contactName value to set.- Returns:
- the ContactDetails object itself.
-
phone
Get the phone property: Phone number of the contact person.- Returns:
- the phone value.
-
withPhone
Set the phone property: Phone number of the contact person.- Parameters:
phone
- the phone value to set.- Returns:
- the ContactDetails object itself.
-
phoneExtension
Get the phoneExtension property: Phone extension number of the contact person.- Returns:
- the phoneExtension value.
-
withPhoneExtension
Set the phoneExtension property: Phone extension number of the contact person.- Parameters:
phoneExtension
- the phoneExtension value to set.- Returns:
- the ContactDetails object itself.
-
mobile
Get the mobile property: Mobile number of the contact person.- Returns:
- the mobile value.
-
withMobile
Set the mobile property: Mobile number of the contact person.- Parameters:
mobile
- the mobile value to set.- Returns:
- the ContactDetails object itself.
-
emailList
Get the emailList property: List of Email-ids to be notified about job progress.- Returns:
- the emailList value.
-
withEmailList
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.
-
notificationPreference
Get the notificationPreference property: Notification preference for a job stage.- Returns:
- the notificationPreference value.
-
withNotificationPreference
public ContactDetails withNotificationPreference(List<NotificationPreference> notificationPreference) Set the notificationPreference property: Notification preference for a job stage.- Parameters:
notificationPreference
- the notificationPreference value to set.- Returns:
- the ContactDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-