@PublicApi public static class GraphQLInputObjectField.Builder extends GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
appliedDirectives, directives
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLInputObjectField existing) |
copyExistingDirectives, replaceAppliedDirectives, withAppliedDirective, withAppliedDirective, withAppliedDirectives
comparatorRegistry
public Builder()
public Builder(GraphQLInputObjectField existing)
public GraphQLInputObjectField.Builder definition(InputValueDefinition definition)
public GraphQLInputObjectField.Builder deprecate(java.lang.String deprecationReason)
public GraphQLInputObjectField.Builder type(GraphQLInputObjectType.Builder type)
public GraphQLInputObjectField.Builder type(GraphQLInputType type)
@Deprecated public GraphQLInputObjectField.Builder defaultValue(java.lang.Object defaultValue)
defaultValueLiteral(Value)
defaultValue
- the value to setpublic GraphQLInputObjectField.Builder defaultValueLiteral(Value defaultValue)
public GraphQLInputObjectField.Builder defaultValueProgrammatic(java.lang.Object defaultValue)
public GraphQLInputObjectField.Builder clearDefaultValue()
public GraphQLInputObjectField.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLInputObjectField.Builder withDirectives(GraphQLDirective... directives)
public GraphQLInputObjectField.Builder withDirective(GraphQLDirective directive)
public GraphQLInputObjectField.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLInputObjectField.Builder clearDirectives()
GraphqlDirectivesContainerTypeBuilder
clearDirectives
in class GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
public GraphQLInputObjectField.Builder name(java.lang.String name)
name
in class GraphqlTypeBuilder<GraphQLInputObjectField.Builder>
public GraphQLInputObjectField.Builder description(java.lang.String description)
description
in class GraphqlTypeBuilder<GraphQLInputObjectField.Builder>
public GraphQLInputObjectField build()