Class CreateProfileOptions.Builder

  • Enclosing class:
    CreateProfileOptions

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

      • Builder

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

      • build

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

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

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

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

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

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

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

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

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

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

        public CreateProfileOptions.Builder acdProfile​(AcdProfile acdProfile)
        Set the acdProfile.
        Parameters:
        acdProfile - the acdProfile
        Returns:
        the CreateProfileOptions builder