Class BillingModeSummary

    • Method Detail

      • billingMode

        public final BillingMode billingMode()

        Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

        • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

        • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

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

        Returns:
        Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

        • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

        • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

        See Also:
        BillingMode
      • billingModeAsString

        public final String billingModeAsString()

        Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

        • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

        • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

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

        Returns:
        Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

        • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

        • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

        See Also:
        BillingMode
      • lastUpdateToPayPerRequestDateTime

        public final Instant lastUpdateToPayPerRequestDateTime()

        Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

        Returns:
        Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.
      • 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)