Class HttpMessage
java.lang.Object
com.azure.resourcemanager.resources.models.HttpMessage
HTTP message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent()Get the content property: HTTP message content.voidvalidate()Validates the instance.withContent(Object content) Set the content property: HTTP message content.
-
Constructor Details
-
HttpMessage
public HttpMessage()
-
-
Method Details
-
content
Get the content property: HTTP message content.- Returns:
- the content value.
-
withContent
Set the content property: HTTP message content.- Parameters:
content- the content value to set.- Returns:
- the HttpMessage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-