Constructor
new StatusMessage(eventType, statusLevel, status, statusContext, message, timestampEpochMs)
Parameters:
Name | Type | Default | Description |
---|---|---|---|
eventType |
aws-greengrass-core-sdk.StreamManager.EventType | null | |
statusLevel |
aws-greengrass-core-sdk.StreamManager.StatusLevel | null | |
status |
aws-greengrass-core-sdk.StreamManager.Status | null | |
statusContext |
aws-greengrass-core-sdk.StreamManager.StatusContext | null | |
message |
String | null | String describing the status message. |
timestampEpochMs |
Number | null | The time this status was added to the status-stream (in milliseconds since epoch). |
- Source:
Members
eventType
- Source:
eventType
- Source:
message
String describing the status message.
- Source:
message
- Source:
status
- Source:
status
- Source:
statusContext
- Source:
statusContext
- Source:
statusLevel
- Source:
statusLevel
- Source:
timestampEpochMs
The time this status was added to the status-stream (in milliseconds since epoch).
- Source:
timestampEpochMs
- Source:
Methods
withEventType(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
aws-greengrass-core-sdk.StreamManager.EventType |
- Source:
Returns:
withMessage(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
String | String describing the status message. |
- Source:
Returns:
withStatus(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
aws-greengrass-core-sdk.StreamManager.Status |
- Source:
Returns:
withStatusContext(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
aws-greengrass-core-sdk.StreamManager.StatusContext |
- Source:
Returns:
withStatusLevel(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
aws-greengrass-core-sdk.StreamManager.StatusLevel |
- Source:
Returns:
withTimestampEpochMs(value) → {aws-greengrass-core-sdk.StreamManager.StatusMessage}
Parameters:
Name | Type | Description |
---|---|---|
value |
Number | The time this status was added to the status-stream (in milliseconds since epoch). |
- Source: