toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LookupAttributeKey.eventId:
      return 'EventId';
    case LookupAttributeKey.eventName:
      return 'EventName';
    case LookupAttributeKey.readOnly:
      return 'ReadOnly';
    case LookupAttributeKey.username:
      return 'Username';
    case LookupAttributeKey.resourceType:
      return 'ResourceType';
    case LookupAttributeKey.resourceName:
      return 'ResourceName';
    case LookupAttributeKey.eventSource:
      return 'EventSource';
    case LookupAttributeKey.accessKeyId:
      return 'AccessKeyId';
  }
}