Interface CapacitySize.Builder

    • Method Detail

      • type

        CapacitySize.Builder type​(String type)

        Specifies the endpoint capacity type.

        • INSTANCE_COUNT: The endpoint activates based on the number of instances.

        • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

        Parameters:
        type - Specifies the endpoint capacity type.

        • INSTANCE_COUNT: The endpoint activates based on the number of instances.

        • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CapacitySizeType, CapacitySizeType
      • type

        CapacitySize.Builder type​(CapacitySizeType type)

        Specifies the endpoint capacity type.

        • INSTANCE_COUNT: The endpoint activates based on the number of instances.

        • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

        Parameters:
        type - Specifies the endpoint capacity type.

        • INSTANCE_COUNT: The endpoint activates based on the number of instances.

        • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CapacitySizeType, CapacitySizeType
      • value

        CapacitySize.Builder value​(Integer value)

        Defines the capacity size, either as a number of instances or a capacity percentage.

        Parameters:
        value - Defines the capacity size, either as a number of instances or a capacity percentage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.