Class StartingPrice.Builder

  • Enclosing class:
    StartingPrice

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

      • Builder

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

      • build

        public StartingPrice build()
        Builds a StartingPrice.
        Returns:
        the new StartingPrice instance
      • addAmount

        public StartingPrice.Builder addAmount​(Amount amount)
        Adds a new element to amount.
        Parameters:
        amount - the new element to be added
        Returns:
        the StartingPrice builder
      • planId

        public StartingPrice.Builder planId​(java.lang.String planId)
        Set the planId.
        Parameters:
        planId - the planId
        Returns:
        the StartingPrice builder
      • deploymentId

        public StartingPrice.Builder deploymentId​(java.lang.String deploymentId)
        Set the deploymentId.
        Parameters:
        deploymentId - the deploymentId
        Returns:
        the StartingPrice builder
      • unit

        public StartingPrice.Builder unit​(java.lang.String unit)
        Set the unit.
        Parameters:
        unit - the unit
        Returns:
        the StartingPrice builder
      • amount

        public StartingPrice.Builder amount​(java.util.List<Amount> amount)
        Set the amount. Existing amount will be replaced.
        Parameters:
        amount - the amount
        Returns:
        the StartingPrice builder