Class BatchCreateWorkloadEstimateUsageItem

    • Method Detail

      • serviceCode

        public final String serviceCode()

        The Amazon Web Services service code for this usage estimate.

        Returns:
        The Amazon Web Services service code for this usage estimate.
      • usageType

        public final String usageType()

        The type of usage that was estimated.

        Returns:
        The type of usage that was estimated.
      • operation

        public final String operation()

        The specific operation associated with this usage estimate.

        Returns:
        The specific operation associated with this usage estimate.
      • location

        public final String location()

        The location associated with this usage estimate.

        Returns:
        The location associated with this usage estimate.
      • id

        public final String id()

        The unique identifier assigned to the created usage estimate.

        Returns:
        The unique identifier assigned to the created usage estimate.
      • usageAccountId

        public final String usageAccountId()

        The Amazon Web Services account ID associated with the created usage estimate.

        Returns:
        The Amazon Web Services account ID associated with the created usage estimate.
      • group

        public final String group()

        The group identifier for the created usage estimate.

        Returns:
        The group identifier for the created usage estimate.
      • cost

        public final Double cost()

        The estimated cost associated with this usage.

        Returns:
        The estimated cost associated with this usage.
      • currencyAsString

        public final String currencyAsString()

        The currency of the estimated cost.

        If the service returns an enum value that is not available in the current SDK version, currency will return CurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from currencyAsString().

        Returns:
        The currency of the estimated cost.
        See Also:
        CurrencyCode
      • historicalUsage

        public final HistoricalUsageEntity historicalUsage()

        Historical usage data associated with this estimate, if available.

        Returns:
        Historical usage data associated with this estimate, if available.
      • key

        public final String key()

        The key of the successfully created entry.

        Returns:
        The key of the successfully created entry.
      • 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)