@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)
replaceDirectives
in class GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
directives
- the list of directivespublic GraphQLInputObjectField.Builder withDirectives(GraphQLDirective... directives)
withDirectives
in class GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
directives
- the variable args of directivespublic GraphQLInputObjectField.Builder withDirective(GraphQLDirective directive)
withDirective
in class GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
directive
- the directive to addpublic GraphQLInputObjectField.Builder withDirective(GraphQLDirective.Builder builder)
withDirective
in class GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
builder
- the directive builderpublic 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()