Class: ReadMessagesResponse

.StreamManager~ReadMessagesResponse(requestId, messages, status, errorMessage)

Internal Only.

Constructor

new ReadMessagesResponse(requestId, messages, status, errorMessage)

Parameters:
Name Type Default Description
requestId String null
messages Array.<aws-greengrass-core-sdk.StreamManager.Message> null
status aws-greengrass-core-sdk.StreamManager.ResponseStatusCode null
errorMessage String null
Source:

Members

errorMessage

Source:

errorMessage

Source:

messages

Source:

messages

Source:

requestId

Source:

requestId

Source:

status

Source:

status

Source:

Methods

withErrorMessage(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}

Parameters:
Name Type Description
value String
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse

withMessages(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}

Parameters:
Name Type Description
value Array.<aws-greengrass-core-sdk.StreamManager.Message>
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse

withRequestId(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}

Parameters:
Name Type Description
value String
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse

withStatus(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}

Parameters:
Name Type Description
value aws-greengrass-core-sdk.StreamManager.ResponseStatusCode
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse