Class SendMessage
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.SendMessage
Represents message sent to a UserSession.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the messageBody property: Body of message.Get the messageTitle property: Title of message.void
validate()
Validates the instance.withMessageBody
(String messageBody) Set the messageBody property: Body of message.withMessageTitle
(String messageTitle) Set the messageTitle property: Title of message.
-
Constructor Details
-
SendMessage
public SendMessage()
-
-
Method Details
-
messageTitle
Get the messageTitle property: Title of message.- Returns:
- the messageTitle value.
-
withMessageTitle
Set the messageTitle property: Title of message.- Parameters:
messageTitle
- the messageTitle value to set.- Returns:
- the SendMessage object itself.
-
messageBody
Get the messageBody property: Body of message.- Returns:
- the messageBody value.
-
withMessageBody
Set the messageBody property: Body of message.- Parameters:
messageBody
- the messageBody value to set.- Returns:
- the SendMessage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-