@CanIgnoreReturnValue
    public Builder setAudience(String value) {
      if (payload.has(JwtNames.CLAIM_AUDIENCE)
          && payload.get(JwtNames.CLAIM_AUDIENCE).isJsonArray()) {
          throw new IllegalArgumentException(
              "setAudience can't be used together with setAudiences or addAudience");
      }
      if (!JsonUtil.isValidString(value)) {
        throw new IllegalArgumentException("invalid string");
      }
      payload.add(JwtNames.CLAIM_AUDIENCE, new JsonPrimitive(value));
      return this;
    }
Sets the audience that the JWT is intended for.

<p>Sets the {@code aud} claim as a string. This method can't be used together with {@code
setAudiences} or {@code addAudience}.

<p>https://tools.ietf.org/html/rfc7519#section-4.1.3
java_src/src/main/java/com/google/crypto/tink/jwt/RawJwt.java