public static class GraphQLArgument.Builder extends GraphqlTypeBuilder
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLArgument existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLArgument |
build() |
GraphQLArgument.Builder |
clearDirectives()
This is used to clear all the directives in the builder so far.
|
GraphQLArgument.Builder |
comparatorRegistry(GraphqlTypeComparatorRegistry comparatorRegistry) |
GraphQLArgument.Builder |
defaultValue(java.lang.Object defaultValue) |
GraphQLArgument.Builder |
definition(InputValueDefinition definition) |
GraphQLArgument.Builder |
description(java.lang.String description) |
GraphQLArgument.Builder |
name(java.lang.String name) |
GraphQLArgument.Builder |
replaceDirectives(java.util.List<GraphQLDirective> directives) |
GraphQLArgument.Builder |
type(GraphQLInputType type) |
GraphQLArgument.Builder |
value(java.lang.Object value) |
GraphQLArgument.Builder |
withDirective(GraphQLDirective.Builder builder) |
GraphQLArgument.Builder |
withDirective(GraphQLDirective directive) |
GraphQLArgument.Builder |
withDirectives(GraphQLDirective... directives) |
public Builder()
public Builder(GraphQLArgument existing)
public GraphQLArgument.Builder name(java.lang.String name)
public GraphQLArgument.Builder description(java.lang.String description)
public GraphQLArgument.Builder comparatorRegistry(GraphqlTypeComparatorRegistry comparatorRegistry)
public GraphQLArgument.Builder definition(InputValueDefinition definition)
public GraphQLArgument.Builder type(GraphQLInputType type)
public GraphQLArgument.Builder defaultValue(java.lang.Object defaultValue)
public GraphQLArgument.Builder value(java.lang.Object value)
public GraphQLArgument.Builder withDirectives(GraphQLDirective... directives)
public GraphQLArgument.Builder withDirective(GraphQLDirective directive)
public GraphQLArgument.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLArgument.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLArgument.Builder clearDirectives()
public GraphQLArgument build()