Class Description.Builder

  • Enclosing class:
    Description

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

      • Builder

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

      • build

        public Description build()
        Builds a Description.
        Returns:
        the new Description instance
      • addMoreInfo

        public Description.Builder addMoreInfo​(ContractTermsMoreInfo moreInfo)
        Adds a new element to moreInfo.
        Parameters:
        moreInfo - the new element to be added
        Returns:
        the Description builder
      • purpose

        public Description.Builder purpose​(java.lang.String purpose)
        Set the purpose.
        Parameters:
        purpose - the purpose
        Returns:
        the Description builder
      • limitations

        public Description.Builder limitations​(java.lang.String limitations)
        Set the limitations.
        Parameters:
        limitations - the limitations
        Returns:
        the Description builder
      • usage

        public Description.Builder usage​(java.lang.String usage)
        Set the usage.
        Parameters:
        usage - the usage
        Returns:
        the Description builder
      • moreInfo

        public Description.Builder moreInfo​(java.util.List<ContractTermsMoreInfo> moreInfo)
        Set the moreInfo. Existing moreInfo will be replaced.
        Parameters:
        moreInfo - the moreInfo
        Returns:
        the Description builder
      • customProperties

        public Description.Builder customProperties​(java.lang.String customProperties)
        Set the customProperties.
        Parameters:
        customProperties - the customProperties
        Returns:
        the Description builder