toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IntegrationType.sendFindingsToSecurityHub:
      return 'SEND_FINDINGS_TO_SECURITY_HUB';
    case IntegrationType.receiveFindingsFromSecurityHub:
      return 'RECEIVE_FINDINGS_FROM_SECURITY_HUB';
  }
}