public class JsonPolicyWriter
extends java.lang.Object
| コンストラクタと説明 |
|---|
JsonPolicyWriter() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
writePolicyToString(Policy policy)
Converts the specified AWS policy object to a JSON string, suitable for
passing to an AWS service.
|
public java.lang.String writePolicyToString(Policy policy)
policy - The AWS policy object to convert to a JSON string.java.lang.IllegalArgumentException - If the specified policy is null or invalid and cannot be
serialized to a JSON string.