Package graphql.execution.directives
Class QueryAppliedDirectiveArgument.Builder
- java.lang.Object
-
- graphql.schema.GraphqlTypeBuilder<QueryAppliedDirectiveArgument.Builder>
-
- graphql.execution.directives.QueryAppliedDirectiveArgument.Builder
-
- Enclosing class:
- QueryAppliedDirectiveArgument
public static class QueryAppliedDirectiveArgument.Builder extends GraphqlTypeBuilder<QueryAppliedDirectiveArgument.Builder>
-
-
Field Summary
-
Fields inherited from class graphql.schema.GraphqlTypeBuilder
comparatorRegistry, description, name
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(QueryAppliedDirectiveArgument existing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryAppliedDirectiveArgument
build()
QueryAppliedDirectiveArgument.Builder
clearValue()
Removes the value to represent a missing value (which is different from null)QueryAppliedDirectiveArgument.Builder
definition(Argument definition)
QueryAppliedDirectiveArgument.Builder
inputValueWithState(@NotNull InputValueWithState value)
QueryAppliedDirectiveArgument.Builder
type(GraphQLInputType type)
QueryAppliedDirectiveArgument.Builder
valueLiteral(@NotNull Value<?> value)
Sets a literal AST value as the arguments valueQueryAppliedDirectiveArgument.Builder
valueProgrammatic(@Nullable java.lang.Object value)
-
Methods inherited from class graphql.schema.GraphqlTypeBuilder
comparatorRegistry, description, name
-
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueryAppliedDirectiveArgument existing)
-
-
Method Detail
-
type
public QueryAppliedDirectiveArgument.Builder type(GraphQLInputType type)
-
definition
public QueryAppliedDirectiveArgument.Builder definition(Argument definition)
-
valueLiteral
public QueryAppliedDirectiveArgument.Builder valueLiteral(@NotNull @NotNull Value<?> value)
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
public QueryAppliedDirectiveArgument.Builder valueProgrammatic(@Nullable @Nullable java.lang.Object value)
- Parameters:
value
- values can be null to represent null value- Returns:
- this builder
-
inputValueWithState
public QueryAppliedDirectiveArgument.Builder inputValueWithState(@NotNull @NotNull InputValueWithState value)
-
clearValue
public QueryAppliedDirectiveArgument.Builder clearValue()
Removes the value to represent a missing value (which is different from null)- Returns:
- this builder
-
build
public QueryAppliedDirectiveArgument build()
-
-