public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
retrieveAWSAccountId()
Retrieves the current AWS account ID, using reflection so that we don't
have a hard reference to the STS SDK JAR (ie, if you don't want account
IDs you don't need the JAR).
|
static void |
sleepQuietly(long time)
Sleeps until the specified time elapses or the thread is interrupted.
|
public static void sleepQuietly(long time)
public static String retrieveAWSAccountId()
Returns null if unable to determine the account ID for any reason.
Copyright © 2018. All rights reserved.