@PublicApi public static class GraphQLInputObjectField.Builder extends GraphqlDirectivesContainerTypeBuilder<GraphQLInputObjectField.Builder,GraphQLInputObjectField.Builder>
appliedDirectives, directives
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLInputObjectField existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLInputObjectField |
build() |
GraphQLInputObjectField.Builder |
clearDefaultValue() |
GraphQLInputObjectField.Builder |
defaultValue(java.lang.Object defaultValue)
Deprecated.
|
GraphQLInputObjectField.Builder |
defaultValueLiteral(Value defaultValue) |
GraphQLInputObjectField.Builder |
defaultValueProgrammatic(java.lang.Object defaultValue) |
GraphQLInputObjectField.Builder |
definition(InputValueDefinition definition) |
GraphQLInputObjectField.Builder |
deprecate(java.lang.String deprecationReason) |
GraphQLInputObjectField.Builder |
type(GraphQLInputObjectType.Builder type) |
GraphQLInputObjectField.Builder |
type(GraphQLInputType type) |
clearDirectives, copyExistingDirectives, replaceAppliedDirectives, replaceDirectives, withAppliedDirective, withAppliedDirective, withAppliedDirectives, withDirective, withDirective, withDirectives
comparatorRegistry, description, name
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 build()