public static class GraphQLEnumType.Builder extends GraphqlTypeBuilder
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLEnumType existing) |
public Builder()
public Builder(GraphQLEnumType existing)
public GraphQLEnumType.Builder name(java.lang.String name)
public GraphQLEnumType.Builder description(java.lang.String description)
public GraphQLEnumType.Builder comparatorRegistry(GraphqlTypeComparatorRegistry comparatorRegistry)
public GraphQLEnumType.Builder definition(EnumTypeDefinition definition)
public GraphQLEnumType.Builder extensionDefinitions(java.util.List<EnumTypeExtensionDefinition> extensionDefinitions)
public GraphQLEnumType.Builder value(java.lang.String name, java.lang.Object value, java.lang.String description, java.lang.String deprecationReason)
public GraphQLEnumType.Builder value(java.lang.String name, java.lang.Object value, java.lang.String description)
public GraphQLEnumType.Builder value(java.lang.String name, java.lang.Object value)
public GraphQLEnumType.Builder value(java.lang.String name)
public GraphQLEnumType.Builder values(java.util.List<GraphQLEnumValueDefinition> valueDefinitions)
public GraphQLEnumType.Builder replaceValues(java.util.List<GraphQLEnumValueDefinition> valueDefinitions)
public GraphQLEnumType.Builder value(GraphQLEnumValueDefinition enumValueDefinition)
public boolean hasValue(java.lang.String name)
public GraphQLEnumType.Builder clearValues()
public GraphQLEnumType.Builder withDirectives(GraphQLDirective... directives)
public GraphQLEnumType.Builder withDirective(GraphQLDirective directive)
public GraphQLEnumType.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLEnumType.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLEnumType.Builder clearDirectives()
public GraphQLEnumType build()