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 Constructor Description Builder()
Builder(GraphQLAppliedDirectiveArgument existing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLAppliedDirectiveArgument
build()
GraphQLAppliedDirectiveArgument.Builder
clearValue()
Removes the value to represent a missing value (which is different from null)GraphQLAppliedDirectiveArgument.Builder
definition(Argument definition)
GraphQLAppliedDirectiveArgument.Builder
inputValueWithState(@NotNull InputValueWithState value)
GraphQLAppliedDirectiveArgument.Builder
type(GraphQLInputType type)
GraphQLAppliedDirectiveArgument.Builder
valueLiteral(@NotNull Value<?> value)
Sets a literal AST value as the arguments valueGraphQLAppliedDirectiveArgument.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(GraphQLAppliedDirectiveArgument existing)
-
-
Method Detail
-
type
public GraphQLAppliedDirectiveArgument.Builder type(GraphQLInputType type)
-
definition
public GraphQLAppliedDirectiveArgument.Builder definition(Argument definition)
-
valueLiteral
public GraphQLAppliedDirectiveArgument.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 GraphQLAppliedDirectiveArgument.Builder valueProgrammatic(@Nullable @Nullable java.lang.Object value)
- Parameters:
value
- values can be null to represent null value- Returns:
- this builder
-
inputValueWithState
public GraphQLAppliedDirectiveArgument.Builder inputValueWithState(@NotNull @NotNull InputValueWithState value)
-
clearValue
public GraphQLAppliedDirectiveArgument.Builder clearValue()
Removes the value to represent a missing value (which is different from null)- Returns:
- this builder
-
build
public GraphQLAppliedDirectiveArgument build()
-
-