public ListAccountPermissionsResult withPermissions(java.util.Collection<Permission> permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
Contains details on the permissions an account has to configure Amazon Inspector.
</p>

@param permissions
       Contains details on the permissions an account has to configure Amazon Inspector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListAccountPermissionsResult.java