Class ConsumableResourceSummary

    • Method Detail

      • consumableResourceArn

        public final String consumableResourceArn()

        The Amazon Resource Name (ARN) of the consumable resource.

        Returns:
        The Amazon Resource Name (ARN) of the consumable resource.
      • consumableResourceName

        public final String consumableResourceName()

        The name of the consumable resource.

        Returns:
        The name of the consumable resource.
      • totalQuantity

        public final Long totalQuantity()

        The total amount of the consumable resource that is available.

        Returns:
        The total amount of the consumable resource that is available.
      • inUseQuantity

        public final Long inUseQuantity()

        The amount of the consumable resource that is currently in use.

        Returns:
        The amount of the consumable resource that is currently in use.
      • resourceType

        public final String resourceType()

        Indicates whether the resource is available to be re-used after a job completes. Can be one of:

        • REPLENISHABLE

        • NON_REPLENISHABLE

        Returns:
        Indicates whether the resource is available to be re-used after a job completes. Can be one of:

        • REPLENISHABLE

        • NON_REPLENISHABLE

      • 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)