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

        this.permissions = new java.util.ArrayList<ResourceSharePermissionSummary>(permissions);
    }
<p>
An array of objects with information about the permissions.
</p>

@param permissions
       An array of objects with information about the permissions.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/ListPermissionsResult.java