public TestAuthorizationRequest withAuthInfos(java.util.Collection<AuthInfo> authInfos) {
        setAuthInfos(authInfos);
        return this;
    }
<p>
A list of authorization info objects. Simulating authorization will create a response for each
<code>authInfo</code> object in the list.
</p>

@param authInfos
       A list of authorization info objects. Simulating authorization will create a response for each
       <code>authInfo</code> object in the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/TestAuthorizationRequest.java