public void setPermissions(java.util.Collection<Permission> permissions) {
        if (permissions == null) {
            this.permissions = null;
            return;
        }

        this.permissions = new java.util.ArrayList<Permission>(permissions);
    }
<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.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListAccountPermissionsResult.java