Class ShapeLink.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public ShapeLink build()
        Description copied from interface: SmithyBuilder
        Creates an immutable object that is created from the properties that have been set on the builder.
        Specified by:
        build in interface SmithyBuilder<ShapeLink>
        Returns:
        an instance of T
      • tags

        public ShapeLink.Builder tags​(java.util.List<java.lang.String> tags)
        Sets tags list of a ShapeLink.
        Parameters:
        tags - list of tags.
        Returns:
        This builder.
      • addTag

        public ShapeLink.Builder addTag​(java.lang.String tag)
        Adds a tag to the tags list of a ShapeLink.
        Parameters:
        tag - tag to add.
        Returns:
        This builder.
      • file

        public ShapeLink.Builder file​(java.lang.String file)
        Sets File of a ShapeLink.
        Parameters:
        file - File.
        Returns:
        This builder.
      • line

        public ShapeLink.Builder line​(java.lang.Integer line)
        Sets line of a ShapeLink.
        Parameters:
        line - Line number in artifact file.
        Returns:
        This builder.
      • column

        public ShapeLink.Builder column​(java.lang.Integer column)
        Sets tags list of a ShapeLink.
        Parameters:
        column - Column number in artifact file.
        Returns:
        This builder.