EventResponseMessage Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.EventResponseMessage

public class EventResponseMessage

The event response message received from the service URI.

Constructor Summary

Constructor Description
EventResponseMessage()

Method Summary

Modifier and Type Method and Description
java.lang.String content()

Get the content of the event response message.

java.util.Map<java.lang.String,java.lang.String> headers()

Get the headers of the event response message.

java.lang.String reasonPhrase()

Get the reason phrase of the event response message.

java.lang.String statusCode()

Get the status code of the event response message.

java.lang.String version()

Get the HTTP message version.

EventResponseMessage withContent(String content)

Set the content of the event response message.

EventResponseMessage withHeaders(Map<String,String> headers)

Set the headers of the event response message.

EventResponseMessage withReasonPhrase(String reasonPhrase)

Set the reason phrase of the event response message.

EventResponseMessage withStatusCode(String statusCode)

Set the status code of the event response message.

EventResponseMessage withVersion(String version)

Set the HTTP message version.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EventResponseMessage

public EventResponseMessage()

Method Details

content

public String content()

Get the content of the event response message.

Returns:

the content value

headers

public Map headers()

Get the headers of the event response message.

Returns:

the headers value

reasonPhrase

public String reasonPhrase()

Get the reason phrase of the event response message.

Returns:

the reasonPhrase value

statusCode

public String statusCode()

Get the status code of the event response message.

Returns:

the statusCode value

version

public String version()

Get the HTTP message version.

Returns:

the version value

withContent

public EventResponseMessage withContent(String content)

Set the content of the event response message.

Parameters:

content - the content value to set

Returns:

the EventResponseMessage object itself.

withHeaders

public EventResponseMessage withHeaders(Map headers)

Set the headers of the event response message.

Parameters:

headers - the headers value to set

Returns:

the EventResponseMessage object itself.

withReasonPhrase

public EventResponseMessage withReasonPhrase(String reasonPhrase)

Set the reason phrase of the event response message.

Parameters:

reasonPhrase - the reasonPhrase value to set

Returns:

the EventResponseMessage object itself.

withStatusCode

public EventResponseMessage withStatusCode(String statusCode)

Set the status code of the event response message.

Parameters:

statusCode - the statusCode value to set

Returns:

the EventResponseMessage object itself.

withVersion

public EventResponseMessage withVersion(String version)

Set the HTTP message version.

Parameters:

version - the version value to set

Returns:

the EventResponseMessage object itself.

Applies to