public static class GraphQLAppliedDirectiveArgument.Builder extends GraphqlTypeBuilder<GraphQLAppliedDirectiveArgument.Builder>
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLAppliedDirectiveArgument existing) |
Modifier and Type | Method and 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 value
|
GraphQLAppliedDirectiveArgument.Builder |
valueProgrammatic(@Nullable java.lang.Object value) |
comparatorRegistry, description, name
public Builder()
public Builder(GraphQLAppliedDirectiveArgument existing)
public GraphQLAppliedDirectiveArgument.Builder type(GraphQLInputType type)
public GraphQLAppliedDirectiveArgument.Builder definition(Argument definition)
public GraphQLAppliedDirectiveArgument.Builder valueLiteral(@NotNull @NotNull Value<?> value)
value
- can't be null as a `null` is represented a @NullValue
Literalpublic GraphQLAppliedDirectiveArgument.Builder valueProgrammatic(@Nullable @Nullable java.lang.Object value)
value
- values can be null to represent null valuepublic GraphQLAppliedDirectiveArgument.Builder inputValueWithState(@NotNull @NotNull InputValueWithState value)
public GraphQLAppliedDirectiveArgument.Builder clearValue()
public GraphQLAppliedDirectiveArgument build()