Class Capacity.Builder

  • Enclosing class:
    Capacity

    public static class Capacity.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • capacityType

        public Capacity.Builder capacityType​(CapacityType capacityType)
        The capacity model to use.

        Accepted values are: OLPU_COUNT, USER_COUNT

        Parameters:
        capacityType - the value to set
        Returns:
        this builder
      • capacityValue

        public Capacity.Builder capacityValue​(Integer capacityValue)
        The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).

        This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.

        Parameters:
        capacityValue - the value to set
        Returns:
        this builder