toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SecurityServiceType.waf:
      return 'WAF';
    case SecurityServiceType.wafv2:
      return 'WAFV2';
    case SecurityServiceType.shieldAdvanced:
      return 'SHIELD_ADVANCED';
    case SecurityServiceType.securityGroupsCommon:
      return 'SECURITY_GROUPS_COMMON';
    case SecurityServiceType.securityGroupsContentAudit:
      return 'SECURITY_GROUPS_CONTENT_AUDIT';
    case SecurityServiceType.securityGroupsUsageAudit:
      return 'SECURITY_GROUPS_USAGE_AUDIT';
    case SecurityServiceType.networkFirewall:
      return 'NETWORK_FIREWALL';
  }
}