toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthenticationType.apiKey:
      return 'API_KEY';
    case AuthenticationType.awsIam:
      return 'AWS_IAM';
    case AuthenticationType.amazonCognitoUserPools:
      return 'AMAZON_COGNITO_USER_POOLS';
    case AuthenticationType.openidConnect:
      return 'OPENID_CONNECT';
  }
}