Package graphql.schema
Class GraphQLAppliedDirectiveArgument.Builder
java.lang.Object
graphql.schema.GraphqlTypeBuilder<GraphQLAppliedDirectiveArgument.Builder>
graphql.schema.GraphQLAppliedDirectiveArgument.Builder
- Enclosing class:
GraphQLAppliedDirectiveArgument
public static class GraphQLAppliedDirectiveArgument.Builder
extends GraphqlTypeBuilder<GraphQLAppliedDirectiveArgument.Builder>
-
Field Summary
Fields inherited from class graphql.schema.GraphqlTypeBuilder
comparatorRegistry, description, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Removes the value to represent a missing value (which is different from null)definition
(Argument definition) inputValueWithState
(@NonNull InputValueWithState value) type
(GraphQLInputType type) valueLiteral
(@NonNull Value<?> value) Sets a literal AST value as the arguments valuevalueProgrammatic
(@Nullable Object value) Methods inherited from class graphql.schema.GraphqlTypeBuilder
comparatorRegistry, description, name
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
type
-
definition
-
valueLiteral
Sets a literal AST value as the arguments value- Parameters:
value
- can't be null as a `null` is represented a @NullValue
Literal- Returns:
- this builder
-
valueProgrammatic
- Parameters:
value
- values can be null to represent null value- Returns:
- this builder
-
inputValueWithState
public GraphQLAppliedDirectiveArgument.Builder inputValueWithState(@NonNull InputValueWithState value) -
clearValue
Removes the value to represent a missing value (which is different from null)- Returns:
- this builder
-
build
-