Package com.amazonaws.util
Class IdempotentUtils
- java.lang.Object
-
- com.amazonaws.util.IdempotentUtils
-
public final class IdempotentUtils extends Object
Utility class to manage idempotency token
-
-
Constructor Summary
Constructors Constructor Description IdempotentUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
resolveString(String token)
This method is intended for internal use only.
-
-
-
Method Detail
-
resolveString
public static String resolveString(String token)
This method is intended for internal use only. if input token is null, create and return a new unique token. Otherwise return the existing token.- Parameters:
token
-- Returns:
- if input token is not null, return the same. Else return new token.
-
-