Class DataProductPart.Builder

  • Enclosing class:
    DataProductPart

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(AssetPartReference asset)
        Instantiates a new builder with required properties.
        Parameters:
        asset - the asset
    • Method Detail

      • build

        public DataProductPart build()
        Builds a DataProductPart.
        Returns:
        the new DataProductPart instance
      • addDeliveryMethods

        public DataProductPart.Builder addDeliveryMethods​(DeliveryMethod deliveryMethods)
        Adds a new element to deliveryMethods.
        Parameters:
        deliveryMethods - the new element to be added
        Returns:
        the DataProductPart builder
      • deliveryMethods

        public DataProductPart.Builder deliveryMethods​(java.util.List<DeliveryMethod> deliveryMethods)
        Set the deliveryMethods. Existing deliveryMethods will be replaced.
        Parameters:
        deliveryMethods - the deliveryMethods
        Returns:
        the DataProductPart builder