Class GraphqlDirectivesContainerTypeBuilder<B extends GraphqlDirectivesContainerTypeBuilder<B,​BASE>,​BASE extends GraphqlTypeBuilder<BASE>>

    • Constructor Detail

      • GraphqlDirectivesContainerTypeBuilder

        public GraphqlDirectivesContainerTypeBuilder()
    • Method Detail

      • replaceDirectives

        @Deprecated(since="2022-02-24")
        public B replaceDirectives​(java.util.List<GraphQLDirective> directives)
        Deprecated.
        - use the GraphQLAppliedDirective methods instead
        Parameters:
        directives - the list of directives
        Returns:
        this builder
      • withDirectives

        @Deprecated(since="2022-02-24")
        public B withDirectives​(GraphQLDirective... directives)
        Deprecated.
        - use the GraphQLAppliedDirective methods instead
        Parameters:
        directives - the variable args of directives
        Returns:
        this builder
      • withDirective

        @Deprecated(since="2022-02-24")
        public B withDirective​(GraphQLDirective directive)
        Deprecated.
        - use the GraphQLAppliedDirective methods instead
        Parameters:
        directive - the directive to add
        Returns:
        this builder
      • clearDirectives

        public B clearDirectives()
        This is used to clear all the directives in the builder so far.
        Returns:
        the builder