@PublicApi public static class GraphQLEnumValueDefinition.Builder extends GraphqlTypeBuilder
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLEnumValueDefinition existing) |
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 comparatorRegistry(GraphqlTypeComparatorRegistry comparatorRegistry)
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 withDirectives(GraphQLDirective... directives)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective directive)
public GraphQLEnumValueDefinition.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLEnumValueDefinition.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLEnumValueDefinition.Builder clearDirectives()
public GraphQLEnumValueDefinition build()