Class SendMessage
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.SendMessage
-
public final class SendMessage extends Object
Represents message sent to a UserSession.
-
-
Constructor Summary
Constructors Constructor Description SendMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmessageBody()Get the messageBody property: Body of message.StringmessageTitle()Get the messageTitle property: Title of message.voidvalidate()Validates the instance.SendMessagewithMessageBody(String messageBody)Set the messageBody property: Body of message.SendMessagewithMessageTitle(String messageTitle)Set the messageTitle property: Title of message.
-
-
-
Method Detail
-
messageTitle
public String messageTitle()
Get the messageTitle property: Title of message.- Returns:
- the messageTitle value.
-
withMessageTitle
public SendMessage withMessageTitle(String messageTitle)
Set the messageTitle property: Title of message.- Parameters:
messageTitle- the messageTitle value to set.- Returns:
- the SendMessage object itself.
-
messageBody
public String messageBody()
Get the messageBody property: Body of message.- Returns:
- the messageBody value.
-
withMessageBody
public SendMessage withMessageBody(String messageBody)
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.
-
-