Class AcdProfile.Builder

  • Enclosing class:
    AcdProfile

    public static class AcdProfile.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public AcdProfile build()
        Builds a AcdProfile.
        Returns:
        the new AcdProfile instance
      • addAnnotators

        public AcdProfile.Builder addAnnotators​(Annotator annotators)
        Adds an annotators to annotators.
        Parameters:
        annotators - the new annotators
        Returns:
        the AcdProfile builder
      • id

        public AcdProfile.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the AcdProfile builder
      • name

        public AcdProfile.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the AcdProfile builder
      • description

        public AcdProfile.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the AcdProfile builder
      • publishedDate

        public AcdProfile.Builder publishedDate​(java.lang.String publishedDate)
        Set the publishedDate.
        Parameters:
        publishedDate - the publishedDate
        Returns:
        the AcdProfile builder
      • publish

        public AcdProfile.Builder publish​(java.lang.Boolean publish)
        Set the publish.
        Parameters:
        publish - the publish
        Returns:
        the AcdProfile builder
      • version

        public AcdProfile.Builder version​(java.lang.String version)
        Set the version.
        Parameters:
        version - the version
        Returns:
        the AcdProfile builder
      • cartridgeId

        public AcdProfile.Builder cartridgeId​(java.lang.String cartridgeId)
        Set the cartridgeId.
        Parameters:
        cartridgeId - the cartridgeId
        Returns:
        the AcdProfile builder
      • annotators

        public AcdProfile.Builder annotators​(java.util.List<Annotator> annotators)
        Set the annotators. Existing annotators will be replaced.
        Parameters:
        annotators - the annotators
        Returns:
        the AcdProfile builder