Class Ec2CapacityReservation

    • Method Detail

      • ec2CapacityReservationId

        public final String ec2CapacityReservationId()

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

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

        public final Integer totalInstanceCount()

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

        Returns:
        The number of instances that you allocated to the EC2 capacity reservation.
      • availableInstanceCount

        public final Integer availableInstanceCount()

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

        Returns:
        The number of instances that are currently available in the EC2 capacity reservation.
      • usedByCurrentEndpoint

        public final Integer usedByCurrentEndpoint()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)