@PublicApi public static class GraphQLEnumValueDefinition.Builder extends GraphqlDirectivesContainerTypeBuilder<GraphQLEnumValueDefinition.Builder,GraphQLEnumValueDefinition.Builder>
appliedDirectives, directives
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLEnumValueDefinition existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLEnumValueDefinition |
build() |
GraphQLEnumValueDefinition.Builder |
clearDirectives()
This is used to clear all the directives in the builder so far.
|
GraphQLEnumValueDefinition.Builder |
definition(EnumValueDefinition definition) |
GraphQLEnumValueDefinition.Builder |
deprecationReason(java.lang.String deprecationReason) |
GraphQLEnumValueDefinition.Builder |
description(java.lang.String description) |
GraphQLEnumValueDefinition.Builder |
name(java.lang.String name) |
GraphQLEnumValueDefinition.Builder |
replaceDirectives(java.util.List<GraphQLDirective> directives) |
GraphQLEnumValueDefinition.Builder |
value(java.lang.Object value) |
GraphQLEnumValueDefinition.Builder |
withDirective(GraphQLDirective.Builder builder) |
GraphQLEnumValueDefinition.Builder |
withDirective(GraphQLDirective directive) |
GraphQLEnumValueDefinition.Builder |
withDirectives(GraphQLDirective... directives) |
copyExistingDirectives, replaceAppliedDirectives, withAppliedDirective, withAppliedDirective, withAppliedDirectives
comparatorRegistry
public Builder()
public Builder(GraphQLEnumValueDefinition existing)
public GraphQLEnumValueDefinition.Builder value(java.lang.Object value)
public GraphQLEnumValueDefinition.Builder deprecationReason(java.lang.String deprecationReason)
public GraphQLEnumValueDefinition.Builder definition(EnumValueDefinition definition)
public GraphQLEnumValueDefinition.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLEnumValueDefinition.Builder withDirectives(GraphQLDirective... directives)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective directive)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLEnumValueDefinition.Builder clearDirectives()
GraphqlDirectivesContainerTypeBuilder
clearDirectives
in class GraphqlDirectivesContainerTypeBuilder<GraphQLEnumValueDefinition.Builder,GraphQLEnumValueDefinition.Builder>
public GraphQLEnumValueDefinition.Builder name(java.lang.String name)
name
in class GraphqlTypeBuilder<GraphQLEnumValueDefinition.Builder>
public GraphQLEnumValueDefinition.Builder description(java.lang.String description)
description
in class GraphqlTypeBuilder<GraphQLEnumValueDefinition.Builder>
public GraphQLEnumValueDefinition build()