toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResolverQueryLogConfigAssociationError.none:
      return 'NONE';
    case ResolverQueryLogConfigAssociationError.destinationNotFound:
      return 'DESTINATION_NOT_FOUND';
    case ResolverQueryLogConfigAssociationError.accessDenied:
      return 'ACCESS_DENIED';
    case ResolverQueryLogConfigAssociationError.internalServiceError:
      return 'INTERNAL_SERVICE_ERROR';
  }
}