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:
withMessages(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}
Parameters:
Name | Type | Description |
---|---|---|
value |
Array.<aws-greengrass-core-sdk.StreamManager.Message> |
- Source:
Returns:
withRequestId(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}
Parameters:
Name | Type | Description |
---|---|---|
value |
String |
- Source:
Returns:
withStatus(value) → {aws-greengrass-core-sdk.StreamManager.ReadMessagesResponse}
Parameters:
Name | Type | Description |
---|---|---|
value |
aws-greengrass-core-sdk.StreamManager.ResponseStatusCode |
- Source: