Interface DefinitionDocument.Builder

    • Method Detail

      • language

        DefinitionDocument.Builder language​(String language)

        The language used to define the entity. GRAPHQL is the only valid value.

        Parameters:
        language - The language used to define the entity. GRAPHQL is the only valid value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DefinitionLanguage, DefinitionLanguage
      • text

        DefinitionDocument.Builder text​(String text)

        The GraphQL text that defines the entity.

        Parameters:
        text - The GraphQL text that defines the entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.