Interface InferenceComponentCapacitySize.Builder

    • Method Detail

      • type

        InferenceComponentCapacitySize.Builder type​(String type)

        Specifies the endpoint capacity type.

        COPY_COUNT

        The endpoint activates based on the number of inference component copies.

        CAPACITY_PERCENT

        The endpoint activates based on the specified percentage of capacity.

        Parameters:
        type - Specifies the endpoint capacity type.

        COPY_COUNT

        The endpoint activates based on the number of inference component copies.

        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:
        InferenceComponentCapacitySizeType, InferenceComponentCapacitySizeType
      • type

        InferenceComponentCapacitySize.Builder type​(InferenceComponentCapacitySizeType type)

        Specifies the endpoint capacity type.

        COPY_COUNT

        The endpoint activates based on the number of inference component copies.

        CAPACITY_PERCENT

        The endpoint activates based on the specified percentage of capacity.

        Parameters:
        type - Specifies the endpoint capacity type.

        COPY_COUNT

        The endpoint activates based on the number of inference component copies.

        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:
        InferenceComponentCapacitySizeType, InferenceComponentCapacitySizeType
      • value

        InferenceComponentCapacitySize.Builder value​(Integer value)

        Defines the capacity size, either as a number of inference component copies or a capacity percentage.

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