createPolicyFromJsonString
public Policy createPolicyFromJsonString(java.lang.String jsonString)
Converts the specified JSON string to an AWS policy object.
For more information see, @see
http://docs.aws.amazon.com/AWSSdkDocsJava/latest
/DeveloperGuide/java-dg-access-control.html
- Parameters:
jsonString - the specified JSON string representation of this AWS access
control policy.
- Returns:
- An AWS policy object.
- Throws:
java.lang.IllegalArgumentException - If the specified JSON string is null or invalid and cannot be
converted to an AWS policy object.