public UpdateFolderPermissionsResult withPermissions(java.util.Collection<ResourcePermission> permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
Information about the permissions for the folder.
</p>

@param permissions
       Information about the permissions for the folder.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/UpdateFolderPermissionsResult.java