com.amazonaws.auth.policy.internal

## クラス JsonPolicyWriter

- java.lang.Object
- - com.amazonaws.auth.policy.internal.JsonPolicyWriter

-     public class JsonPolicyWriter
      extends java.lang.Object

  Serializes an AWS policy object to a JSON string, suitable for sending to an AWS service.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `JsonPolicyWriter()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `writePolicyToString(Policy policy)` Converts the specified AWS policy object to a JSON string, suitable for passing to an AWS service.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### JsonPolicyWriter

          public JsonPolicyWriter()

  - ### メソッドの詳細

    - #### writePolicyToString

          public java.lang.String writePolicyToString(Policy policy)

      Converts the specified AWS policy object to a JSON string, suitable for passing to an AWS service.
      パラメータ:
        `policy` - The AWS policy object to convert to a JSON string.
      戻り値:
        The JSON string representation of the specified policy object.
      例外:
        `java.lang.IllegalArgumentException` - If the specified policy is null or invalid and cannot be serialized to a JSON string.