@PublicApi public static class GraphQLScalarType.Builder extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(GraphQLScalarType existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLScalarType |
build() |
GraphQLScalarType.Builder |
clearDirectives()
This is used to clear all the directives in the builder so far.
|
GraphQLScalarType.Builder |
coercing(Coercing coercing) |
GraphQLScalarType.Builder |
definition(ScalarTypeDefinition definition) |
GraphQLScalarType.Builder |
description(java.lang.String description) |
GraphQLScalarType.Builder |
name(java.lang.String name) |
GraphQLScalarType.Builder |
withDirective(GraphQLDirective.Builder builder) |
GraphQLScalarType.Builder |
withDirective(GraphQLDirective directive) |
GraphQLScalarType.Builder |
withDirectives(GraphQLDirective... directives) |
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 definition(ScalarTypeDefinition definition)
public GraphQLScalarType.Builder coercing(Coercing coercing)
public GraphQLScalarType.Builder withDirectives(GraphQLDirective... directives)
public GraphQLScalarType.Builder withDirective(GraphQLDirective directive)
public GraphQLScalarType.Builder withDirective(GraphQLDirective.Builder builder)
public GraphQLScalarType.Builder clearDirectives()
public GraphQLScalarType build()