Class CommunicationDetailsProperties
java.lang.Object
com.azure.resourcemanager.support.fluent.models.CommunicationDetailsProperties
Describes the properties of a communication resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CommunicationDetailsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionbody()
Get the body property: Body of the communication.Get the communicationDirection property: Direction of communication.Get the communicationType property: Communication type.Get the createdDate property: Time in UTC (ISO 8601 format) when the communication was created.sender()
Get the sender property: Email address of the sender.subject()
Get the subject property: Subject of the communication.void
validate()
Validates the instance.Set the body property: Body of the communication.withSender
(String sender) Set the sender property: Email address of the sender.withSubject
(String subject) Set the subject property: Subject of the communication.
-
Constructor Details
-
CommunicationDetailsProperties
public CommunicationDetailsProperties()Creates an instance of CommunicationDetailsProperties class.
-
-
Method Details
-
communicationType
Get the communicationType property: Communication type.- Returns:
- the communicationType value.
-
communicationDirection
Get the communicationDirection property: Direction of communication.- Returns:
- the communicationDirection value.
-
sender
Get the sender property: Email address of the sender. This property is required if called by a service principal.- Returns:
- the sender value.
-
withSender
Set the sender property: Email address of the sender. This property is required if called by a service principal.- Parameters:
sender
- the sender value to set.- Returns:
- the CommunicationDetailsProperties object itself.
-
subject
Get the subject property: Subject of the communication.- Returns:
- the subject value.
-
withSubject
Set the subject property: Subject of the communication.- Parameters:
subject
- the subject value to set.- Returns:
- the CommunicationDetailsProperties object itself.
-
body
Get the body property: Body of the communication.- Returns:
- the body value.
-
withBody
Set the body property: Body of the communication.- Parameters:
body
- the body value to set.- Returns:
- the CommunicationDetailsProperties object itself.
-
createdDate
Get the createdDate property: Time in UTC (ISO 8601 format) when the communication was created.- Returns:
- the createdDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-