toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProcessorParameterName.lambdaArn:
      return 'LambdaArn';
    case ProcessorParameterName.numberOfRetries:
      return 'NumberOfRetries';
    case ProcessorParameterName.roleArn:
      return 'RoleArn';
    case ProcessorParameterName.bufferSizeInMBs:
      return 'BufferSizeInMBs';
    case ProcessorParameterName.bufferIntervalInSeconds:
      return 'BufferIntervalInSeconds';
  }
}