JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.auth

Class SdkClock.Instance

  • Enclosing interface:
    SdkClock


    public static final class SdkClock.Instance
    extends Object 
    Container for Singleton instance of the SdkClock.
    • Constructor Detail

      • Instance

        public Instance()
    • Method Detail

      • set

        public static void set(SdkClock newClock)
        Should only be used by tests to mock the clock.
        Parameters:
        newClock - New clock to use.
      • reset

        public static void reset()
        Reset the clock to SdkClock.STANDARD. Should only be used by SDK tests.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /