Class QueryAppliedDirective

    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getDescription

        @Nullable
        public @Nullable java.lang.String getDescription()
      • getDefinition

        @Nullable
        public @Nullable Directive getDefinition()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • transform

        public QueryAppliedDirective transform​(java.util.function.Consumer<QueryAppliedDirective.Builder> builderConsumer)
        This helps you transform the current GraphQLDirective into another one by starting a builder with all the current values and allows you to transform it how you want.
        Parameters:
        builderConsumer - the consumer code that will be given a builder to transform
        Returns:
        a new field based on calling build on that builder