Package com.amazonaws.util
Class IdempotentUtils
java.lang.Object
com.amazonaws.util.IdempotentUtils
Utility class to manage idempotency token
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
resolveString
(String token) This method is intended for internal use only.
-
Constructor Details
-
IdempotentUtils
public IdempotentUtils()
-
-
Method Details
-
resolveString
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.
-