MessageProperties Class
- java.
lang. Object - com.
azure. resourcemanager. support. models. MessageProperties
- com.
public final class MessageProperties
Describes the properties of a Message Details resource.
Constructor Summary
| Constructor | Description |
|---|---|
| MessageProperties() |
Creates an instance of Message |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
body()
Get the body property: Body of the communication. |
|
Communication |
communicationDirection()
Get the communication |
|
Transcript |
contentType()
Get the content |
|
Offset |
createdDate()
Get the created |
| String |
sender()
Get the sender property: Name of the sender. |
| void |
validate()
Validates the instance. |
|
Message |
withBody(String body)
Set the body property: Body of the communication. |
|
Message |
withSender(String sender)
Set the sender property: Name of the sender. |
Methods inherited from java.lang.Object
Constructor Details
MessageProperties
public MessageProperties()
Creates an instance of MessageProperties class.
Method Details
body
public String body()
Get the body property: Body of the communication.
Returns:
communicationDirection
public CommunicationDirection communicationDirection()
Get the communicationDirection property: Direction of communication.
Returns:
contentType
public TranscriptContentType contentType()
Get the contentType property: Content type.
Returns:
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: Time in UTC (ISO 8601 format) when the communication was created.
Returns:
sender
public String sender()
Get the sender property: Name of the sender.
Returns:
validate
public void validate()
Validates the instance.
withBody
public MessageProperties withBody(String body)
Set the body property: Body of the communication.
Parameters:
Returns:
withSender
public MessageProperties withSender(String sender)
Set the sender property: Name of the sender.
Parameters:
Returns: