Class AliasedScalar.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public AliasedScalar.Builder name​(java.lang.String name)
        Sets the name of the aliased scalar
        Parameters:
        name - the name of the aliased scalar
        Returns:
        this builder
      • description

        public AliasedScalar.Builder description​(java.lang.String description)
        Sets the description of the aliased scalar
        Parameters:
        description - the description of the aliased scalar
        Returns:
        this builder
      • aliasedScalar

        public AliasedScalar.Builder aliasedScalar​(graphql.schema.GraphQLScalarType aliasedScalar)
        Sets the scalar that is to be aliased
        Parameters:
        aliasedScalar - the scalar that is to be aliased
        Returns:
        this builder
      • build

        public graphql.schema.GraphQLScalarType build()
        Returns:
        the built AliasedScalar