Class HistoricalUsageEntity

    • Method Detail

      • serviceCode

        public final String serviceCode()

        The Amazon Web Services service code associated with the usage.

        Returns:
        The Amazon Web Services service code associated with the usage.
      • usageType

        public final String usageType()

        The type of usage.

        Returns:
        The type of usage.
      • operation

        public final String operation()

        The specific operation associated with the usage.

        Returns:
        The specific operation associated with the usage.
      • location

        public final String location()

        The location associated with the usage.

        Returns:
        The location associated with the usage.
      • usageAccountId

        public final String usageAccountId()

        The Amazon Web Services account ID associated with the usage.

        Returns:
        The Amazon Web Services account ID associated with the usage.
      • billInterval

        public final BillInterval billInterval()

        The time interval for the historical usage data.

        Returns:
        The time interval for the historical usage data.
      • filterExpression

        public final Expression filterExpression()

        An optional filter expression to apply to the historical usage data.

        Returns:
        An optional filter expression to apply to the historical usage data.
      • 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)