Class ReservedCapacityOffering

    • Method Detail

      • instanceCount

        public final Integer instanceCount()

        The number of instances in the reserved capacity offering.

        Returns:
        The number of instances in the reserved capacity offering.
      • availabilityZone

        public final String availabilityZone()

        The availability zone for the reserved capacity offering.

        Returns:
        The availability zone for the reserved capacity offering.
      • durationHours

        public final Long durationHours()

        The number of whole hours in the total duration for this reserved capacity offering.

        Returns:
        The number of whole hours in the total duration for this reserved capacity offering.
      • durationMinutes

        public final Long durationMinutes()

        The additional minutes beyond whole hours in the total duration for this reserved capacity offering.

        Returns:
        The additional minutes beyond whole hours in the total duration for this reserved capacity offering.
      • startTime

        public final Instant startTime()

        The start time of the reserved capacity offering.

        Returns:
        The start time of the reserved capacity offering.
      • endTime

        public final Instant endTime()

        The end time of the reserved capacity offering.

        Returns:
        The end time of the reserved capacity offering.
      • 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)