toValue method
Implementation
String toValue() {
switch (this) {
case ScheduleLambdaFunctionFailedCause.idAlreadyInUse:
return 'ID_ALREADY_IN_USE';
case ScheduleLambdaFunctionFailedCause.openLambdaFunctionsLimitExceeded:
return 'OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED';
case ScheduleLambdaFunctionFailedCause.lambdaFunctionCreationRateExceeded:
return 'LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED';
case ScheduleLambdaFunctionFailedCause.lambdaServiceNotAvailableInRegion:
return 'LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION';
}
}