Class DeliveryMethod.Builder

  • Enclosing class:
    DeliveryMethod

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id,
                       ContainerReference container)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
        container - the container
    • Method Detail

      • build

        public DeliveryMethod build()
        Builds a DeliveryMethod.
        Returns:
        the new DeliveryMethod instance
      • id

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