Interface ProductionVariantCapacityReservationSummary.Builder

    • Method Detail

      • mlReservationArn

        ProductionVariantCapacityReservationSummary.Builder mlReservationArn​(String mlReservationArn)

        The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.

        Parameters:
        mlReservationArn - The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityReservationPreference

        ProductionVariantCapacityReservationSummary.Builder capacityReservationPreference​(String capacityReservationPreference)

        The option that you chose for the capacity reservation. SageMaker AI supports the following options:

        capacity-reservations-only

        SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.

        Parameters:
        capacityReservationPreference - The option that you chose for the capacity reservation. SageMaker AI supports the following options:

        capacity-reservations-only

        SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.

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

        ProductionVariantCapacityReservationSummary.Builder capacityReservationPreference​(CapacityReservationPreference capacityReservationPreference)

        The option that you chose for the capacity reservation. SageMaker AI supports the following options:

        capacity-reservations-only

        SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.

        Parameters:
        capacityReservationPreference - The option that you chose for the capacity reservation. SageMaker AI supports the following options:

        capacity-reservations-only

        SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.

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

        ProductionVariantCapacityReservationSummary.Builder totalInstanceCount​(Integer totalInstanceCount)

        The number of instances that you allocated to the ML capacity reservation.

        Parameters:
        totalInstanceCount - The number of instances that you allocated to the ML capacity reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availableInstanceCount

        ProductionVariantCapacityReservationSummary.Builder availableInstanceCount​(Integer availableInstanceCount)

        The number of instances that are currently available in the ML capacity reservation.

        Parameters:
        availableInstanceCount - The number of instances that are currently available in the ML capacity reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usedByCurrentEndpoint

        ProductionVariantCapacityReservationSummary.Builder usedByCurrentEndpoint​(Integer usedByCurrentEndpoint)

        The number of instances from the ML capacity reservation that are being used by the endpoint.

        Parameters:
        usedByCurrentEndpoint - The number of instances from the ML capacity reservation that are being used by the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2CapacityReservations

        ProductionVariantCapacityReservationSummary.Builder ec2CapacityReservations​(Collection<Ec2CapacityReservation> ec2CapacityReservations)

        The EC2 capacity reservations that are shared to this ML capacity reservation, if any.

        Parameters:
        ec2CapacityReservations - The EC2 capacity reservations that are shared to this ML capacity reservation, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2CapacityReservations

        ProductionVariantCapacityReservationSummary.Builder ec2CapacityReservations​(Ec2CapacityReservation... ec2CapacityReservations)

        The EC2 capacity reservations that are shared to this ML capacity reservation, if any.

        Parameters:
        ec2CapacityReservations - The EC2 capacity reservations that are shared to this ML capacity reservation, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.