toValue method
Implementation
String toValue() {
switch (this) {
case MetadataField.agentId:
return 'AgentId';
case MetadataField.awsRequestId:
return 'AwsRequestId';
case MetadataField.computePlatform:
return 'ComputePlatform';
case MetadataField.executionEnvironment:
return 'ExecutionEnvironment';
case MetadataField.lambdaFunctionArn:
return 'LambdaFunctionArn';
case MetadataField.lambdaMemoryLimitInMB:
return 'LambdaMemoryLimitInMB';
case MetadataField.lambdaPreviousExecutionTimeInMilliseconds:
return 'LambdaPreviousExecutionTimeInMilliseconds';
case MetadataField.lambdaRemainingTimeInMilliseconds:
return 'LambdaRemainingTimeInMilliseconds';
case MetadataField.lambdaTimeGapBetweenInvokesInMilliseconds:
return 'LambdaTimeGapBetweenInvokesInMilliseconds';
}
}