Class Kind.Builder

  • Enclosing class:
    Kind

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

      • Builder

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

      • build

        public Kind build()
        Builds a Kind.
        Returns:
        the new Kind instance
      • addTags

        public Kind.Builder addTags​(java.lang.String tags)
        Adds an tags to tags.
        Parameters:
        tags - the new tags
        Returns:
        the Kind builder
      • addAdditionalFeatures

        public Kind.Builder addAdditionalFeatures​(Feature additionalFeatures)
        Adds an additionalFeatures to additionalFeatures.
        Parameters:
        additionalFeatures - the new additionalFeatures
        Returns:
        the Kind builder
      • addVersions

        public Kind.Builder addVersions​(Version versions)
        Adds an versions to versions.
        Parameters:
        versions - the new versions
        Returns:
        the Kind builder
      • addPlans

        public Kind.Builder addPlans​(Plan plans)
        Adds an plans to plans.
        Parameters:
        plans - the new plans
        Returns:
        the Kind builder
      • id

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

        public Kind.Builder formatKind​(java.lang.String formatKind)
        Set the formatKind.
        Parameters:
        formatKind - the formatKind
        Returns:
        the Kind builder
      • targetKind

        public Kind.Builder targetKind​(java.lang.String targetKind)
        Set the targetKind.
        Parameters:
        targetKind - the targetKind
        Returns:
        the Kind builder
      • metadata

        public Kind.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Set the metadata.
        Parameters:
        metadata - the metadata
        Returns:
        the Kind builder
      • installDescription

        public Kind.Builder installDescription​(java.lang.String installDescription)
        Set the installDescription.
        Parameters:
        installDescription - the installDescription
        Returns:
        the Kind builder
      • tags

        public Kind.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the Kind builder
      • additionalFeatures

        public Kind.Builder additionalFeatures​(java.util.List<Feature> additionalFeatures)
        Set the additionalFeatures. Existing additionalFeatures will be replaced.
        Parameters:
        additionalFeatures - the additionalFeatures
        Returns:
        the Kind builder
      • created

        public Kind.Builder created​(java.util.Date created)
        Set the created.
        Parameters:
        created - the created
        Returns:
        the Kind builder
      • updated

        public Kind.Builder updated​(java.util.Date updated)
        Set the updated.
        Parameters:
        updated - the updated
        Returns:
        the Kind builder
      • versions

        public Kind.Builder versions​(java.util.List<Version> versions)
        Set the versions. Existing versions will be replaced.
        Parameters:
        versions - the versions
        Returns:
        the Kind builder
      • plans

        public Kind.Builder plans​(java.util.List<Plan> plans)
        Set the plans. Existing plans will be replaced.
        Parameters:
        plans - the plans
        Returns:
        the Kind builder