Package graphql.schema
Class SchemaElementChildrenContainer.Builder
- java.lang.Object
-
- graphql.schema.SchemaElementChildrenContainer.Builder
-
- Enclosing class:
- SchemaElementChildrenContainer
public static class SchemaElementChildrenContainer.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaElementChildrenContainer
build()
SchemaElementChildrenContainer.Builder
child(java.lang.String key, GraphQLSchemaElement child)
SchemaElementChildrenContainer.Builder
children(java.lang.String key, java.util.Collection<? extends GraphQLSchemaElement> children)
SchemaElementChildrenContainer.Builder
children(java.util.Map<java.lang.String,? extends java.util.Collection<? extends GraphQLSchemaElement>> children)
SchemaElementChildrenContainer.Builder
removeChild(java.lang.String key, int index)
SchemaElementChildrenContainer.Builder
replaceChild(java.lang.String key, int index, GraphQLSchemaElement newChild)
-
-
-
Method Detail
-
child
public SchemaElementChildrenContainer.Builder child(java.lang.String key, GraphQLSchemaElement child)
-
children
public SchemaElementChildrenContainer.Builder children(java.lang.String key, java.util.Collection<? extends GraphQLSchemaElement> children)
-
children
public SchemaElementChildrenContainer.Builder children(java.util.Map<java.lang.String,? extends java.util.Collection<? extends GraphQLSchemaElement>> children)
-
replaceChild
public SchemaElementChildrenContainer.Builder replaceChild(java.lang.String key, int index, GraphQLSchemaElement newChild)
-
removeChild
public SchemaElementChildrenContainer.Builder removeChild(java.lang.String key, int index)
-
build
public SchemaElementChildrenContainer build()
-
-