Interface Ec2CapacityReservation.Builder

    • Method Detail

      • ec2CapacityReservationId

        Ec2CapacityReservation.Builder ec2CapacityReservationId​(String ec2CapacityReservationId)

        The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.

        Parameters:
        ec2CapacityReservationId - The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalInstanceCount

        Ec2CapacityReservation.Builder totalInstanceCount​(Integer totalInstanceCount)

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

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

        Ec2CapacityReservation.Builder availableInstanceCount​(Integer availableInstanceCount)

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

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

        Ec2CapacityReservation.Builder usedByCurrentEndpoint​(Integer usedByCurrentEndpoint)

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

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