toValue method
Implementation
String toValue() {
switch (this) {
case MessageSystemAttributeName.senderId:
return 'SenderId';
case MessageSystemAttributeName.sentTimestamp:
return 'SentTimestamp';
case MessageSystemAttributeName.approximateReceiveCount:
return 'ApproximateReceiveCount';
case MessageSystemAttributeName.approximateFirstReceiveTimestamp:
return 'ApproximateFirstReceiveTimestamp';
case MessageSystemAttributeName.sequenceNumber:
return 'SequenceNumber';
case MessageSystemAttributeName.messageDeduplicationId:
return 'MessageDeduplicationId';
case MessageSystemAttributeName.messageGroupId:
return 'MessageGroupId';
case MessageSystemAttributeName.awsTraceHeader:
return 'AWSTraceHeader';
}
}