public TestInvokeAuthorizerResult withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The JSON policy document returned by the Authorizer
</p>

@param policy
       The JSON policy document returned by the Authorizer
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/TestInvokeAuthorizerResult.java