@PublicApi public static class GraphQLEnumValueDefinition.Builder extends java.lang.Object
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 |
deprecationReason(java.lang.String deprecationReason) |
GraphQLEnumValueDefinition.Builder |
description(java.lang.String description) |
GraphQLEnumValueDefinition.Builder |
name(java.lang.String name) |
GraphQLEnumValueDefinition.Builder |
value(java.lang.Object value) |
GraphQLEnumValueDefinition.Builder |
withDirective(GraphQLDirective.Builder builder) |
GraphQLEnumValueDefinition.Builder |
withDirective(GraphQLDirective directive) |
GraphQLEnumValueDefinition.Builder |
withDirectives(GraphQLDirective... directives) |
public Builder()
public Builder(GraphQLEnumValueDefinition existing)
public GraphQLEnumValueDefinition.Builder name(java.lang.String name)
public GraphQLEnumValueDefinition.Builder description(java.lang.String description)
public GraphQLEnumValueDefinition.Builder value(java.lang.Object value)
public GraphQLEnumValueDefinition.Builder deprecationReason(java.lang.String deprecationReason)
public GraphQLEnumValueDefinition.Builder withDirectives(GraphQLDirective... directives)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective directive)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLEnumValueDefinition.Builder clearDirectives()
public GraphQLEnumValueDefinition build()