toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LambdaInputPayloadEncodingType.json:
      return 'json';
    case LambdaInputPayloadEncodingType.binary:
      return 'binary';
  }
}