@PublicApi public static class GraphQLInputObjectField.Builder extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(GraphQLInputObjectField existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLInputObjectField |
build() |
GraphQLInputObjectField.Builder |
clearDirectives()
This is used to clear all the directives in the builder so far.
|
GraphQLInputObjectField.Builder |
defaultValue(java.lang.Object defaultValue) |
GraphQLInputObjectField.Builder |
definition(InputValueDefinition definition) |
GraphQLInputObjectField.Builder |
description(java.lang.String description) |
GraphQLInputObjectField.Builder |
name(java.lang.String name) |
GraphQLInputObjectField.Builder |
type(GraphQLInputObjectType.Builder type) |
GraphQLInputObjectField.Builder |
type(GraphQLInputType type) |
GraphQLInputObjectField.Builder |
withDirective(GraphQLDirective.Builder builder) |
GraphQLInputObjectField.Builder |
withDirective(GraphQLDirective directive) |
GraphQLInputObjectField.Builder |
withDirectives(GraphQLDirective... directives) |
public Builder()
public Builder(GraphQLInputObjectField existing)
public GraphQLInputObjectField.Builder name(java.lang.String name)
public GraphQLInputObjectField.Builder description(java.lang.String description)
public GraphQLInputObjectField.Builder definition(InputValueDefinition definition)
public GraphQLInputObjectField.Builder type(GraphQLInputObjectType.Builder type)
public GraphQLInputObjectField.Builder type(GraphQLInputType type)
public GraphQLInputObjectField.Builder defaultValue(java.lang.Object defaultValue)
public GraphQLInputObjectField.Builder withDirectives(GraphQLDirective... directives)
public GraphQLInputObjectField.Builder withDirective(GraphQLDirective directive)
public GraphQLInputObjectField.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLInputObjectField.Builder clearDirectives()
public GraphQLInputObjectField build()