@PublicApi public static class GraphQLScalarType.Builder extends GraphqlTypeBuilder
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLScalarType existing) |
public Builder()
public Builder(GraphQLScalarType existing)
public GraphQLScalarType.Builder name(java.lang.String name)
public GraphQLScalarType.Builder description(java.lang.String description)
public GraphQLScalarType.Builder specifiedByUrl(java.lang.String specifiedByUrl)
public GraphQLScalarType.Builder comparatorRegistry(GraphqlTypeComparatorRegistry comparatorRegistry)
public GraphQLScalarType.Builder definition(ScalarTypeDefinition definition)
public GraphQLScalarType.Builder extensionDefinitions(java.util.List<ScalarTypeExtensionDefinition> extensionDefinitions)
public GraphQLScalarType.Builder coercing(Coercing coercing)
public GraphQLScalarType.Builder withDirectives(GraphQLDirective... directives)
public GraphQLScalarType.Builder withDirective(GraphQLDirective directive)
public GraphQLScalarType.Builder replaceDirectives(java.util.List<GraphQLDirective> directives)
public GraphQLScalarType.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLScalarType.Builder clearDirectives()
public GraphQLScalarType build()