public static class GraphQLAppliedDirective.Builder extends GraphqlTypeBuilder<GraphQLAppliedDirective.Builder>
comparatorRegistry, description, name
Constructor and Description |
---|
Builder() |
Builder(GraphQLAppliedDirective existing) |
Modifier and Type | Method and Description |
---|---|
GraphQLAppliedDirective.Builder |
argument(GraphQLAppliedDirectiveArgument.Builder builder)
Same effect as the argument(GraphQLAppliedDirectiveArgument).
|
GraphQLAppliedDirective.Builder |
argument(GraphQLAppliedDirectiveArgument argument) |
GraphQLAppliedDirective.Builder |
argument(java.util.function.UnaryOperator<GraphQLAppliedDirectiveArgument.Builder> builderFunction)
Take an argument builder in a function definition and apply.
|
GraphQLAppliedDirective |
build() |
GraphQLAppliedDirective.Builder |
clearArguments()
This is used to clear all the arguments in the builder so far.
|
GraphQLAppliedDirective.Builder |
definition(Directive definition) |
GraphQLAppliedDirective.Builder |
replaceArguments(java.util.List<GraphQLAppliedDirectiveArgument> arguments) |
comparatorRegistry, description, name
public Builder()
public Builder(GraphQLAppliedDirective existing)
public GraphQLAppliedDirective.Builder argument(GraphQLAppliedDirectiveArgument argument)
public GraphQLAppliedDirective.Builder replaceArguments(java.util.List<GraphQLAppliedDirectiveArgument> arguments)
public GraphQLAppliedDirective.Builder argument(java.util.function.UnaryOperator<GraphQLAppliedDirectiveArgument.Builder> builderFunction)
argument(a -> a.name("argumentName"))
builderFunction
- a supplier for the builder implpublic GraphQLAppliedDirective.Builder argument(GraphQLAppliedDirectiveArgument.Builder builder)
builder
- an un-built/incomplete GraphQLAppliedDirectiveArgumentpublic GraphQLAppliedDirective.Builder clearArguments()
public GraphQLAppliedDirective.Builder definition(Directive definition)
public GraphQLAppliedDirective build()