Class EventResponseMessage
java.lang.Object
com.azure.resourcemanager.containerregistry.models.EventResponseMessage
The event response message received from the service URI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent()Get the content property: The content of the event response message.headers()Get the headers property: The headers of the event response message.Get the reasonPhrase property: The reason phrase of the event response message.Get the statusCode property: The status code of the event response message.voidvalidate()Validates the instance.version()Get the version property: The HTTP message version.withContent(String content) Set the content property: The content of the event response message.withHeaders(Map<String, String> headers) Set the headers property: The headers of the event response message.withReasonPhrase(String reasonPhrase) Set the reasonPhrase property: The reason phrase of the event response message.withStatusCode(String statusCode) Set the statusCode property: The status code of the event response message.withVersion(String version) Set the version property: The HTTP message version.
-
Constructor Details
-
EventResponseMessage
public EventResponseMessage()Creates an instance of EventResponseMessage class.
-
-
Method Details
-
content
Get the content property: The content of the event response message.- Returns:
- the content value.
-
withContent
Set the content property: The content of the event response message.- Parameters:
content- the content value to set.- Returns:
- the EventResponseMessage object itself.
-
headers
Get the headers property: The headers of the event response message.- Returns:
- the headers value.
-
withHeaders
Set the headers property: The headers of the event response message.- Parameters:
headers- the headers value to set.- Returns:
- the EventResponseMessage object itself.
-
reasonPhrase
Get the reasonPhrase property: The reason phrase of the event response message.- Returns:
- the reasonPhrase value.
-
withReasonPhrase
Set the reasonPhrase property: The reason phrase of the event response message.- Parameters:
reasonPhrase- the reasonPhrase value to set.- Returns:
- the EventResponseMessage object itself.
-
statusCode
Get the statusCode property: The status code of the event response message.- Returns:
- the statusCode value.
-
withStatusCode
Set the statusCode property: The status code of the event response message.- Parameters:
statusCode- the statusCode value to set.- Returns:
- the EventResponseMessage object itself.
-
version
Get the version property: The HTTP message version.- Returns:
- the version value.
-
withVersion
Set the version property: The HTTP message version.- Parameters:
version- the version value to set.- Returns:
- the EventResponseMessage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-